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
204bf0b9
Commit
204bf0b9
authored
Jul 11, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
English spelling and grammar fixes
parent
0ca0edee
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
17 additions
and
17 deletions
+17
-17
Doc/library/pyexpat.rst
Doc/library/pyexpat.rst
+1
-1
Doc/library/urllib.request.rst
Doc/library/urllib.request.rst
+1
-1
Doc/library/xml.dom.minidom.rst
Doc/library/xml.dom.minidom.rst
+1
-1
Doc/library/xmlrpc.server.rst
Doc/library/xmlrpc.server.rst
+1
-1
Lib/distutils/tests/test_build_ext.py
Lib/distutils/tests/test_build_ext.py
+1
-1
Lib/idlelib/NEWS.txt
Lib/idlelib/NEWS.txt
+1
-1
Lib/test/test_ipaddress.py
Lib/test/test_ipaddress.py
+2
-2
Lib/unittest/mock.py
Lib/unittest/mock.py
+1
-1
Lib/xml/dom/expatbuilder.py
Lib/xml/dom/expatbuilder.py
+1
-1
Lib/xmlrpc/server.py
Lib/xmlrpc/server.py
+1
-1
Misc/NEWS
Misc/NEWS
+6
-6
No files found.
Doc/library/pyexpat.rst
View file @
204bf0b9
...
...
@@ -244,7 +244,7 @@ XMLParser Objects
The following attributes contain values relating to the most recent error
encountered by an :class:`xmlparser` object, and will only have correct values
once a call to :meth:`Parse` or :meth:`ParseFile` has raised a
once a call to :meth:`Parse` or :meth:`ParseFile` has raised a
n
:exc:`xml.parsers.expat.ExpatError` exception.
...
...
Doc/library/urllib.request.rst
View file @
204bf0b9
...
...
@@ -1138,7 +1138,7 @@ the returned bytes object to string once it determines or guesses
the appropriate encoding.
The following W3C document, https://www.w3.org/International/O-charset\ , lists
the various ways in which a
(X)HTML or a
XML document could have specified its
the various ways in which a
n (X)HTML or an
XML document could have specified its
encoding information.
As the python.org website uses *utf-8* encoding as specified in its meta tag, we
...
...
Doc/library/xml.dom.minidom.rst
View file @
204bf0b9
...
...
@@ -94,7 +94,7 @@ document: the one that holds all others. Here is an example program::
When you are finished with a DOM tree, you may optionally call the
:meth:`unlink` method to encourage early cleanup of the now-unneeded
objects. :meth:`unlink` is a :mod:`xml.dom.minidom`\ -specific
objects. :meth:`unlink` is a
n
:mod:`xml.dom.minidom`\ -specific
extension to the DOM API that renders the node and its descendants are
essentially useless. Otherwise, Python's garbage collector will
eventually take care of the objects in the tree.
...
...
Doc/library/xmlrpc.server.rst
View file @
204bf0b9
...
...
@@ -293,7 +293,7 @@ requests sent to Python CGI scripts.
.. method:: CGIXMLRPCRequestHandler.handle_request(request_text=None)
Handle a
XML-RPC request. If *request_text* is given, it
should be the POST
Handle a
n XML-RPC request. If *request_text* is given, it
should be the POST
data provided by the HTTP server, otherwise the contents of stdin will be used.
Example::
...
...
Lib/distutils/tests/test_build_ext.py
View file @
204bf0b9
...
...
@@ -243,7 +243,7 @@ class BuildExtTestCase(TempdirManager,
self
.
assertRaises
(
DistutilsSetupError
,
cmd
.
check_extensions_list
,
exts
)
# second element of each tuple in 'ext_modules'
# must be a ary (build info)
# must be a
diction
ary (build info)
exts
=
[(
'foo.bar'
,
''
)]
self
.
assertRaises
(
DistutilsSetupError
,
cmd
.
check_extensions_list
,
exts
)
...
...
Lib/idlelib/NEWS.txt
View file @
204bf0b9
...
...
@@ -195,7 +195,7 @@ What's New in IDLE 3.5.0?
Changes are written to HOME/.idlerc/config-extensions.cfg.
Original patch by Tal Einat.
- Issue #16233: A module browser (File : Class Browser, Alt+C) requires a
- Issue #16233: A module browser (File : Class Browser, Alt+C) requires a
n
editor window with a filename. When Class Browser is requested otherwise,
from a shell, output window, or 'Untitled' editor, Idle no longer displays
an error box. It now pops up an Open Module box (Alt+M). If a valid name
...
...
Lib/test/test_ipaddress.py
View file @
204bf0b9
...
...
@@ -734,7 +734,7 @@ class IpaddrUnitTest(unittest.TestCase):
self
.
assertEqual
(
"IPv6Interface('::1/128')"
,
repr
(
ipaddress
.
IPv6Interface
(
'::1'
)))
# issue #16531: constructing IPv4Network from a (address, mask) tuple
# issue #16531: constructing IPv4Network from a
n
(address, mask) tuple
def
testIPv4Tuple
(
self
):
# /32
ip
=
ipaddress
.
IPv4Address
(
'192.0.2.1'
)
...
...
@@ -797,7 +797,7 @@ class IpaddrUnitTest(unittest.TestCase):
self
.
assertEqual
(
ipaddress
.
IPv4Interface
((
3221225985
,
24
)),
ipaddress
.
IPv4Interface
(
'192.0.2.1/24'
))
# issue #16531: constructing IPv6Network from a (address, mask) tuple
# issue #16531: constructing IPv6Network from a
n
(address, mask) tuple
def
testIPv6Tuple
(
self
):
# /128
ip
=
ipaddress
.
IPv6Address
(
'2001:db8::'
)
...
...
Lib/unittest/mock.py
View file @
204bf0b9
...
...
@@ -744,7 +744,7 @@ class NonCallableMock(Base):
def
_call_matcher
(
self
,
_call
):
"""
Given a call (or simply a (args, kwargs) tuple), return a
Given a call (or simply a
n
(args, kwargs) tuple), return a
comparison key suitable for matching with other calls.
This is a best effort method which relies on the spec's signature,
if available, or falls back on the arguments themselves.
...
...
Lib/xml/dom/expatbuilder.py
View file @
204bf0b9
...
...
@@ -10,7 +10,7 @@ This avoids all the overhead of SAX and pulldom to gain performance.
# minidom DOM and can't be used with other DOM implementations. This
# is due, in part, to a lack of appropriate methods in the DOM (there is
# no way to create Entity and Notation nodes via the DOM Level 2
# interface), and for performance. The later is the cause of some fairly
# interface), and for performance. The lat
t
er is the cause of some fairly
# cryptic code.
#
# Performance hacks:
...
...
Lib/xmlrpc/server.py
View file @
204bf0b9
...
...
@@ -184,7 +184,7 @@ class SimpleXMLRPCDispatcher:
are considered private and will not be called by
SimpleXMLRPCServer.
If a registered function matches a XML-RPC request, then it
If a registered function matches a
n
XML-RPC request, then it
will be called instead of the registered instance.
If the optional allow_dotted_names argument is true and the
...
...
Misc/NEWS
View file @
204bf0b9
...
...
@@ -13,8 +13,8 @@ Core and Builtins
- Issue #27473: Fixed possible integer overflow in bytes and bytearray
concatenations. Patch by Xiang Zhang.
- Issue #27443: __length_hint__() of bytearray ite
arator no longer return
negative integer for resized bytearray.
- Issue #27443: __length_hint__() of bytearray ite
rators no longer return a
negative integer for
a
resized bytearray.
Library
-------
...
...
@@ -1965,7 +1965,7 @@ Library
JoinableQueue
was
merged
with
Queue
).
-
Issue
#
23908
:
os
functions
now
reject
paths
with
embedded
null
character
on
Windows
instead
of
silently
truncat
e
them
.
on
Windows
instead
of
silently
truncat
ing
them
.
-
Issue
#
23728
:
binascii
.
crc_hqx
()
could
return
an
integer
outside
of
the
range
0
-
0xffff
for
empty
data
.
...
...
@@ -3221,7 +3221,7 @@ Library
-
Issue
#
22396
:
On
32
-
bit
AIX
platform
,
don
't expose os.posix_fadvise() nor
os.posix_fallocate() because their prototypes in system headers are wrong.
- Issue #22517: When a io.BufferedRWPair object is deallocated, clear its
- Issue #22517: When a
n
io.BufferedRWPair object is deallocated, clear its
weakrefs.
- Issue #22437: Number of capturing groups in regular expression is no longer
...
...
@@ -3301,7 +3301,7 @@ Library
-
Issue
#
22168
:
Prevent
turtle
AttributeError
with
non
-
default
Canvas
on
OS
X
.
-
Issue
#
21147
:
sqlite3
now
raises
an
exception
if
the
request
contains
a
null
character
instead
of
truncat
e
it
.
Based
on
patch
by
Victor
Stinner
.
character
instead
of
truncat
ing
it
.
Based
on
patch
by
Victor
Stinner
.
-
Issue
#
13968
:
The
glob
module
now
supports
recursive
search
in
subdirectories
using
the
"**"
pattern
.
...
...
@@ -4153,7 +4153,7 @@ Build
an explicit runtime library dependency.
- Issue #17861: Tools/scripts/generate_opcode_h.py automatically regenerates
Include/opcode.h from Lib/opcode.py if the later gets any change.
Include/opcode.h from Lib/opcode.py if the lat
t
er gets any change.
- Issue #20644: OS X installer build support for documentation build changes
in 3.4.1: assume externally supplied sphinx-build is available in /usr/bin.
...
...
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