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
886919e9
Commit
886919e9
authored
May 29, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Plain Diff
Issue #27125: Merge typo fixes from 3.5
Also merge changes from Issue #27117; no actual code changes to 3.6.
parents
0b5a6835
dfab19ce
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
17 additions
and
15 deletions
+17
-15
Doc/library/collections.rst
Doc/library/collections.rst
+1
-1
Doc/library/multiprocessing.rst
Doc/library/multiprocessing.rst
+1
-1
Doc/library/os.rst
Doc/library/os.rst
+1
-1
Doc/library/shlex.rst
Doc/library/shlex.rst
+2
-1
Doc/library/typing.rst
Doc/library/typing.rst
+1
-1
Doc/whatsnew/2.6.rst
Doc/whatsnew/2.6.rst
+1
-1
Lib/collections/__init__.py
Lib/collections/__init__.py
+2
-1
Lib/email/message.py
Lib/email/message.py
+1
-1
Lib/test/test_httplib.py
Lib/test/test_httplib.py
+2
-2
Lib/tkinter/tix.py
Lib/tkinter/tix.py
+1
-1
Misc/HISTORY
Misc/HISTORY
+2
-2
Objects/object.c
Objects/object.c
+1
-1
README
README
+1
-1
No files found.
Doc/library/collections.rst
View file @
886919e9
...
@@ -56,7 +56,7 @@ The class can be used to simulate nested scopes and is useful in templating.
...
@@ -56,7 +56,7 @@ The class can be used to simulate nested scopes and is useful in templating.
dictionary is provided so that a new chain always has at least one mapping.
dictionary is provided so that a new chain always has at least one mapping.
The underlying mappings are stored in a list. That list is public and can
The underlying mappings are stored in a list. That list is public and can
accessed or updated using the *maps* attribute. There is no other state.
be
accessed or updated using the *maps* attribute. There is no other state.
Lookups search the underlying mappings successively until a key is found. In
Lookups search the underlying mappings successively until a key is found. In
contrast, writes, updates, and deletions only operate on the first mapping.
contrast, writes, updates, and deletions only operate on the first mapping.
...
...
Doc/library/multiprocessing.rst
View file @
886919e9
...
@@ -2484,7 +2484,7 @@ the connection.)
...
@@ -2484,7 +2484,7 @@ the connection.)
If authentication is requested but no authentication key is specified then the
If authentication is requested but no authentication key is specified then the
return value of ``current_process().authkey`` is used (see
return value of ``current_process().authkey`` is used (see
:class:`~multiprocessing.Process`). This value will automatically inherited by
:class:`~multiprocessing.Process`). This value will
be
automatically inherited by
any :class:`~multiprocessing.Process` object that the current process creates.
any :class:`~multiprocessing.Process` object that the current process creates.
This means that (by default) all processes of a multi-process program will share
This means that (by default) all processes of a multi-process program will share
a single authentication key which can be used when setting up connections
a single authentication key which can be used when setting up connections
...
...
Doc/library/os.rst
View file @
886919e9
...
@@ -3507,7 +3507,7 @@ operating system.
...
@@ -3507,7 +3507,7 @@ operating system.
.. data:: SCHED_RESET_ON_FORK
.. data:: SCHED_RESET_ON_FORK
This flag can OR'ed with any other scheduling policy. When a process with
This flag can
be
OR'ed with any other scheduling policy. When a process with
this flag set forks, its child's scheduling policy and priority are reset to
this flag set forks, its child's scheduling policy and priority are reset to
the default.
the default.
...
...
Doc/library/shlex.rst
View file @
886919e9
...
@@ -244,7 +244,8 @@ variables which either control lexical analysis or can be used for debugging:
...
@@ -244,7 +244,8 @@ variables which either control lexical analysis or can be used for debugging:
This attribute is ``None`` by default. If you assign a string to it, that
This attribute is ``None`` by default. If you assign a string to it, that
string will be recognized as a lexical-level inclusion request similar to the
string will be recognized as a lexical-level inclusion request similar to the
``source`` keyword in various shells. That is, the immediately following token
``source`` keyword in various shells. That is, the immediately following token
will opened as a filename and input taken from that stream until EOF, at which
will be opened as a filename and input will
be taken from that stream until EOF, at which
point the :meth:`~io.IOBase.close` method of that stream will be called and
point the :meth:`~io.IOBase.close` method of that stream will be called and
the input source will again become the original input stream. Source
the input source will again become the original input stream. Source
requests may be stacked any number of levels deep.
requests may be stacked any number of levels deep.
...
...
Doc/library/typing.rst
View file @
886919e9
...
@@ -156,7 +156,7 @@ You can use multiple inheritance with :class:`Generic`::
...
@@ -156,7 +156,7 @@ You can use multiple inheritance with :class:`Generic`::
class LinkedList(Sized, Generic[T]):
class LinkedList(Sized, Generic[T]):
...
...
When inheriting from generic classes, some type variables could fixed::
When inheriting from generic classes, some type variables could
be
fixed::
from typing import TypeVar, Mapping
from typing import TypeVar, Mapping
...
...
Doc/whatsnew/2.6.rst
View file @
886919e9
...
@@ -3154,7 +3154,7 @@ Port-Specific Changes: Mac OS X
...
@@ -3154,7 +3154,7 @@ Port-Specific Changes: Mac OS X
:func:`macostools.touched` function to be removed because it depended on the
:func:`macostools.touched` function to be removed because it depended on the
:mod:`macfs` module. (:issue:`1490190`)
:mod:`macfs` module. (:issue:`1490190`)
* Many other Mac OS modules have been deprecated and will removed in
* Many other Mac OS modules have been deprecated and will
be
removed in
Python 3.0:
Python 3.0:
:mod:`_builtinSuites`,
:mod:`_builtinSuites`,
:mod:`aepack`,
:mod:`aepack`,
...
...
Lib/collections/__init__.py
View file @
886919e9
...
@@ -850,7 +850,8 @@ class ChainMap(MutableMapping):
...
@@ -850,7 +850,8 @@ class ChainMap(MutableMapping):
to create a single, updateable view.
to create a single, updateable view.
The underlying mappings are stored in a list. That list is public and can
The underlying mappings are stored in a list. That list is public and can
accessed or updated using the *maps* attribute. There is no other state.
be accessed or updated using the *maps* attribute. There is no other
state.
Lookups search the underlying mappings successively until a key is found.
Lookups search the underlying mappings successively until a key is found.
In contrast, writes, updates, and deletions only operate on the first
In contrast, writes, updates, and deletions only operate on the first
...
...
Lib/email/message.py
View file @
886919e9
...
@@ -710,7 +710,7 @@ class Message:
...
@@ -710,7 +710,7 @@ class Message:
message, it will be set to "text/plain" and the new parameter and
message, it will be set to "text/plain" and the new parameter and
value will be appended as per RFC 2045.
value will be appended as per RFC 2045.
An alternate header can specified in the header argument, and all
An alternate header can
be
specified in the header argument, and all
parameters will be quoted as necessary unless requote is False.
parameters will be quoted as necessary unless requote is False.
If charset is specified, the parameter will be encoded according to RFC
If charset is specified, the parameter will be encoded according to RFC
...
...
Lib/test/test_httplib.py
View file @
886919e9
...
@@ -255,8 +255,8 @@ class HeaderTests(TestCase):
...
@@ -255,8 +255,8 @@ class HeaderTests(TestCase):
self
.
assertIn
(
b'
\
xa0
NonbreakSpace: value'
,
conn
.
_buffer
)
self
.
assertIn
(
b'
\
xa0
NonbreakSpace: value'
,
conn
.
_buffer
)
def
test_ipv6host_header
(
self
):
def
test_ipv6host_header
(
self
):
# Default host header on IPv6 transaction should wrapped by [] if
# Default host header on IPv6 transaction should
be
wrapped by [] if
# it
s actual
IPv6 address
# it
is an
IPv6 address
expected
=
b'GET /foo HTTP/1.1
\
r
\
n
Host: [2001::]:81
\
r
\
n
'
\
expected
=
b'GET /foo HTTP/1.1
\
r
\
n
Host: [2001::]:81
\
r
\
n
'
\
b'Accept-Encoding: identity
\
r
\
n
\
r
\
n
'
b'Accept-Encoding: identity
\
r
\
n
\
r
\
n
'
conn
=
client
.
HTTPConnection
(
'[2001::]:81'
)
conn
=
client
.
HTTPConnection
(
'[2001::]:81'
)
...
...
Lib/tkinter/tix.py
View file @
886919e9
...
@@ -1048,7 +1048,7 @@ class InputOnly(TixWidget):
...
@@ -1048,7 +1048,7 @@ class InputOnly(TixWidget):
class
LabelEntry
(
TixWidget
):
class
LabelEntry
(
TixWidget
):
"""LabelEntry - Entry field with label. Packages an entry widget
"""LabelEntry - Entry field with label. Packages an entry widget
and a label into one mega widget. It can beused be used to simplify
and a label into one mega widget. It can be
used be used to simplify
the creation of ``entry-form'' type of interface.
the creation of ``entry-form'' type of interface.
Subwidgets Class
Subwidgets Class
...
...
Misc/HISTORY
View file @
886919e9
...
@@ -6633,7 +6633,7 @@ C-API
...
@@ -6633,7 +6633,7 @@ C-API
PyErr_Format, on machines with HAVE_LONG_LONG defined.
PyErr_Format, on machines with HAVE_LONG_LONG defined.
- Issue #6151: Made PyDescr_COMMON conform to standard C (like PyObject_HEAD in
- Issue #6151: Made PyDescr_COMMON conform to standard C (like PyObject_HEAD in
PEP 3123). The PyDescr_TYPE and PyDescr_NAME macros should be
should
used for
PEP 3123). The PyDescr_TYPE and PyDescr_NAME macros should be used for
accessing the d_type and d_name members of structures using PyDescr_COMMON.
accessing the d_type and d_name members of structures using PyDescr_COMMON.
- Issue #6405: Remove duplicate type declarations in descrobject.h.
- Issue #6405: Remove duplicate type declarations in descrobject.h.
...
@@ -16065,7 +16065,7 @@ Core and builtins
...
@@ -16065,7 +16065,7 @@ Core and builtins
- All standard iterators now ensure that, once StopIteration has been
- All standard iterators now ensure that, once StopIteration has been
raised, all future calls to next() on the same iterator will also
raised, all future calls to next() on the same iterator will also
raise StopIteration. There used to be various counterexamples to
raise StopIteration. There used to be various counterexamples to
this behavior, which could caused confusion or subtle program
this behavior, which could
have
caused confusion or subtle program
breakage, without any benefits. (Note that this is still an
breakage, without any benefits. (Note that this is still an
iterator's responsibility; the iterator framework does not enforce
iterator's responsibility; the iterator framework does not enforce
this.)
this.)
Objects/object.c
View file @
886919e9
...
@@ -1853,7 +1853,7 @@ _PyObject_DebugTypeStats(FILE *out)
...
@@ -1853,7 +1853,7 @@ _PyObject_DebugTypeStats(FILE *out)
/* These methods are used to control infinite recursion in repr, str, print,
/* These methods are used to control infinite recursion in repr, str, print,
etc. Container objects that may recursively contain themselves,
etc. Container objects that may recursively contain themselves,
e.g. builtin dictionaries and lists, should use
d
Py_ReprEnter() and
e.g. builtin dictionaries and lists, should use Py_ReprEnter() and
Py_ReprLeave() to avoid infinite recursion.
Py_ReprLeave() to avoid infinite recursion.
Py_ReprEnter() returns 0 the first time it is called for a particular
Py_ReprEnter() returns 0 the first time it is called for a particular
...
...
README
View file @
886919e9
...
@@ -58,7 +58,7 @@ PGO takes advantage of recent versions of the GCC or Clang compilers.
...
@@ -58,7 +58,7 @@ PGO takes advantage of recent versions of the GCC or Clang compilers.
If ran, the "profile-opt" rule will do several steps.
If ran, the "profile-opt" rule will do several steps.
First, the entire Python directory is cleaned of temporary files that
First, the entire Python directory is cleaned of temporary files that
may resulted in a previous compilation.
may
have
resulted in a previous compilation.
Then, an instrumented version of the interpreter is built, using suitable
Then, an instrumented version of the interpreter is built, using suitable
compiler flags for each flavour. Note that this is just an intermediary
compiler flags for each flavour. Note that this is just an intermediary
...
...
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