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
c86c91aa
Commit
c86c91aa
authored
Apr 05, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Plain Diff
Merge typo fixes from 3.5
parents
16ca06b8
cc71a795
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
13 deletions
+13
-13
Doc/library/dis.rst
Doc/library/dis.rst
+1
-1
Include/unicodeobject.h
Include/unicodeobject.h
+1
-1
Lib/http/client.py
Lib/http/client.py
+1
-1
Lib/test/test_argparse.py
Lib/test/test_argparse.py
+5
-5
Lib/warnings.py
Lib/warnings.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-3
README
README
+1
-1
No files found.
Doc/library/dis.rst
View file @
c86c91aa
...
...
@@ -708,7 +708,7 @@ the more significant byte last.
Implements assignment with a starred target: Unpacks an iterable in TOS into
individual values, where the total number of values can be smaller than the
number of items in the iterable: one the new values will be a list of all
number of items in the iterable: one
of
the new values will be a list of all
leftover items.
The low byte of *counts* is the number of values before the list value, the
...
...
Include/unicodeobject.h
View file @
c86c91aa
...
...
@@ -2069,7 +2069,7 @@ PyAPI_FUNC(PyObject *) PyUnicode_Format(
/* Checks whether element is contained in container and return 1/0
accordingly.
element has to coerce to a
n
one element Unicode string. -1 is
element has to coerce to a one element Unicode string. -1 is
returned in case of an error. */
PyAPI_FUNC
(
int
)
PyUnicode_Contains
(
...
...
Lib/http/client.py
View file @
c86c91aa
...
...
@@ -1204,7 +1204,7 @@ class HTTPConnection:
If the HTTPConnection is in the correct state, returns an
instance of HTTPResponse or of whatever object is returned by
class
the response_class variable.
the response_class variable.
If a request has not been sent or if a previous response has
not be handled, ResponseNotReady is raised. If the HTTP
...
...
Lib/test/test_argparse.py
View file @
c86c91aa
...
...
@@ -534,7 +534,7 @@ class TestOptionalsNargsDefault(ParserTestCase):
class
TestOptionalsNargs1
(
ParserTestCase
):
"""Tests specifying
the
1 arg for an Optional"""
"""Tests specifying 1 arg for an Optional"""
argument_signatures
=
[
Sig
(
'-x'
,
nargs
=
1
)]
failures
=
[
'a'
,
'-x'
]
...
...
@@ -545,7 +545,7 @@ class TestOptionalsNargs1(ParserTestCase):
class
TestOptionalsNargs3
(
ParserTestCase
):
"""Tests specifying
the
3 args for an Optional"""
"""Tests specifying 3 args for an Optional"""
argument_signatures
=
[
Sig
(
'-x'
,
nargs
=
3
)]
failures
=
[
'a'
,
'-x'
,
'-x a'
,
'-x a b'
,
'a -x'
,
'a -x b'
]
...
...
@@ -579,7 +579,7 @@ class TestOptionalsNargsOptional(ParserTestCase):
class
TestOptionalsNargsZeroOrMore
(
ParserTestCase
):
"""Tests specifying a
n a
rgs for an Optional that accepts zero or more"""
"""Tests specifying args for an Optional that accepts zero or more"""
argument_signatures
=
[
Sig
(
'-x'
,
nargs
=
'*'
),
...
...
@@ -598,7 +598,7 @@ class TestOptionalsNargsZeroOrMore(ParserTestCase):
class
TestOptionalsNargsOneOrMore
(
ParserTestCase
):
"""Tests specifying a
n a
rgs for an Optional that accepts one or more"""
"""Tests specifying args for an Optional that accepts one or more"""
argument_signatures
=
[
Sig
(
'-x'
,
nargs
=
'+'
),
...
...
@@ -1251,7 +1251,7 @@ class TestPrefixCharacterOnlyArguments(ParserTestCase):
class
TestNargsZeroOrMore
(
ParserTestCase
):
"""Tests specifying a
n a
rgs for an Optional that accepts zero or more"""
"""Tests specifying args for an Optional that accepts zero or more"""
argument_signatures
=
[
Sig
(
'-x'
,
nargs
=
'*'
),
Sig
(
'y'
,
nargs
=
'*'
)]
failures
=
[]
...
...
Lib/warnings.py
View file @
c86c91aa
...
...
@@ -43,7 +43,7 @@ def _formatwarnmsg_impl(msg):
line
=
linecache
.
getline
(
msg
.
filename
,
msg
.
lineno
)
except
Exception
:
# When a warning is logged during Python shutdown, linecache
# and the imp
ro
t machinery don't work anymore
# and the imp
or
t machinery don't work anymore
line
=
None
linecache
=
None
else
:
...
...
Misc/NEWS
View file @
c86c91aa
...
...
@@ -2406,7 +2406,7 @@ Library
Build
-----
-
Issue
#
23817
:
FreeBSD
now
uses
"1.0"
the
the
SOVERSION
as
other
operating
-
Issue
#
23817
:
FreeBSD
now
uses
"1.0"
in
the
SOVERSION
as
other
operating
systems
,
instead
of
just
"1"
.
-
Issue
#
23501
:
Argument
Clinic
now
generates
code
into
separate
files
by
default
.
...
...
@@ -7420,7 +7420,7 @@ Library
Thomas
Barlow
.
-
Issue
#
17358
:
Modules
loaded
by
imp
.
load_source
()
and
load_compiled
()
(
and
by
exten
t
ion
load_module
())
now
have
a
better
chance
of
working
when
reloaded
.
exten
s
ion
load_module
())
now
have
a
better
chance
of
working
when
reloaded
.
-
Issue
#
17804
:
New
function
``
struct
.
iter_unpack
``
allows
for
streaming
struct
unpacking
.
...
...
@@ -8103,7 +8103,7 @@ Library
- Issue #16284: Prevent keeping unnecessary references to worker functions
in concurrent.futures ThreadPoolExecutor.
- Issue #16230: Fix a crash in select.select() when one the lists changes
- Issue #16230: Fix a crash in select.select() when one
of
the lists changes
size while iterated on. Patch by Serhiy Storchaka.
- Issue #16228: Fix a crash in the json module where a list changes size
...
...
README
View file @
c86c91aa
...
...
@@ -71,7 +71,7 @@ profile the interpreter execution. Note also that any output, both stdout
and stderr, that may appear at this step is supressed.
Finally, the last step is to rebuild the interpreter, using the information
collected in the previous one. The end result will be a
the
Python binary
collected in the previous one. The end result will be a Python binary
that is optimized and suitable for distribution or production installation.
...
...
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