Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e83a4adb
Commit
e83a4adb
authored
Mar 13, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#5486: typos.
parent
efa7c138
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
Doc/c-api/init.rst
Doc/c-api/init.rst
+1
-1
Doc/distutils/packageindex.rst
Doc/distutils/packageindex.rst
+2
-2
Doc/library/2to3.rst
Doc/library/2to3.rst
+4
-4
Doc/library/exceptions.rst
Doc/library/exceptions.rst
+1
-1
Doc/library/turtle.rst
Doc/library/turtle.rst
+3
-3
No files found.
Doc/c-api/init.rst
View file @
e83a4adb
...
...
@@ -835,7 +835,7 @@ interpreter lock and can perform any Python API calls.
it returns -1 without setting any exception.
This function can be called on any thread, be it a Python thread or
some other system thread. If it is a Python thread, it does
e
n't matter if
some other system thread. If it is a Python thread, it doesn't matter if
it holds the global interpreter lock or not.
.. versionadded:: 2.7
...
...
Doc/distutils/packageindex.rst
View file @
e83a4adb
...
...
@@ -98,7 +98,7 @@ repository to work with::
python setup.py register -r http://example.com/pypi
The name of the section that describes the repository may also be used
for conveniency
::
For convenience, the name of the section that describes the repository
may also be used
::
python setup.py register -r other
Doc/library/2to3.rst
View file @
e83a4adb
...
...
@@ -99,7 +99,7 @@ differentiate between the print statement with parentheses (such as ``print
Fixers
------
Each step of tranforming code is encapsulated in a fixer. The command ``2to3
Each step of tran
s
forming code is encapsulated in a fixer. The command ``2to3
-l`` lists them. As :ref:`documented above <2to3-using>`, each can be turned on
and off individually. They are described here in more detail.
...
...
@@ -167,11 +167,11 @@ and off individually. They are described here in more detail.
.. 2to3fixer:: idioms
This optional fixer p
re
forms several transformations that make Python code
more idiomatic. Type comparis
i
ons like ``type(x) is SomeClass`` and
This optional fixer p
er
forms several transformations that make Python code
more idiomatic. Type comparisons like ``type(x) is SomeClass`` and
``type(x) == SomeClass`` are converted to ``isinstance(x, SomeClass)``.
``while 1`` becomes ``while True``. This fixer also tries to make use of
:func:`sorted` in appropiate places. For example, this block ::
:func:`sorted` in approp
r
iate places. For example, this block ::
L = list(some_iterable)
L.sort()
...
...
Doc/library/exceptions.rst
View file @
e83a4adb
...
...
@@ -52,7 +52,7 @@ The following exceptions are only used as base classes for other exceptions.
The base class for all built-in exceptions. It is not meant to be directly
inherited by user-defined classes (for that use :exc:`Exception`). If
:func:`str` or :func:`unicode` is called on an instance of this class, the
representation of the argument(s) to the instance are returned or the empt
r
y
representation of the argument(s) to the instance are returned or the empty
string when there were no arguments. All arguments are stored in :attr:`args`
as a tuple.
...
...
Doc/library/turtle.rst
View file @
e83a4adb
...
...
@@ -61,7 +61,7 @@ The object-oriented interface uses essentially two+two classes:
The procedural interface provides functions which are derived from the methods
of the classes :class:`Screen` and :class:`Turtle`. They have the same names as
the corresponding methods. A screen object is automati
v
ally created whenever a
the corresponding methods. A screen object is automati
c
ally created whenever a
function derived from a Screen method is called. An (unnamed) turtle object is
automatically created whenever any of the functions derived from a Turtle method
is called.
...
...
@@ -1608,7 +1608,7 @@ The public classes of the module :mod:`turtle`
=========== ===========
"polygon" a polygon-tuple, i.e. a tuple of pairs of coordinates
"image" an image (in this form only used internally!)
"compound" ``None`` (a compund shape has to be constructed using the
"compound" ``None`` (a comp
o
und shape has to be constructed using the
:meth:`addcomponent` method)
=========== ===========
...
...
@@ -1830,7 +1830,7 @@ There is a set of demo scripts in the turtledemo directory located in the
It contains:
- a set of 15 demo scripts demonstrating differet features of the new module
- a set of 15 demo scripts demonstrating differe
n
t features of the new module
:mod:`turtle`
- a demo viewer :file:`turtleDemo.py` which can be used to view the sourcecode
of the scripts and run them at the same time. 14 of the examples can be
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment