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
2e4571a4
Commit
2e4571a4
authored
Nov 14, 2015
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few grammar problems in the documentation and comments
parent
ac34e09b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
Doc/library/ast.rst
Doc/library/ast.rst
+1
-1
Doc/library/copy.rst
Doc/library/copy.rst
+2
-2
Doc/library/ftplib.rst
Doc/library/ftplib.rst
+2
-2
Lib/doctest.py
Lib/doctest.py
+1
-1
Lib/test/test_argparse.py
Lib/test/test_argparse.py
+1
-1
No files found.
Doc/library/ast.rst
View file @
2e4571a4
...
@@ -104,7 +104,7 @@ The abstract grammar is currently defined as follows:
...
@@ -104,7 +104,7 @@ The abstract grammar is currently defined as follows:
:mod:`ast` Helpers
:mod:`ast` Helpers
------------------
------------------
Apart from the node classes, :mod:`ast` module defines these utility functions
Apart from the node classes,
the
:mod:`ast` module defines these utility functions
and classes for traversing abstract syntax trees:
and classes for traversing abstract syntax trees:
.. function:: parse(source, filename='<unknown>', mode='exec')
.. function:: parse(source, filename='<unknown>', mode='exec')
...
...
Doc/library/copy.rst
View file @
2e4571a4
...
@@ -67,8 +67,8 @@ of lists by assigning a slice of the entire list, for example,
...
@@ -67,8 +67,8 @@ of lists by assigning a slice of the entire list, for example,
Classes can use the same interfaces to control copying that they use to control
Classes can use the same interfaces to control copying that they use to control
pickling. See the description of module :mod:`pickle` for information on these
pickling. See the description of module :mod:`pickle` for information on these
methods. In fact,
:mod:`copy` module uses the registered pickle functions from
methods. In fact,
the :mod:`copy` module uses the registered
:mod:`copyreg` module.
pickle functions from the
:mod:`copyreg` module.
.. index::
.. index::
single: __copy__() (copy protocol)
single: __copy__() (copy protocol)
...
...
Doc/library/ftplib.rst
View file @
2e4571a4
...
@@ -418,8 +418,8 @@ FTP_TLS Objects
...
@@ -418,8 +418,8 @@ FTP_TLS Objects
.. method:: FTP_TLS.auth()
.. method:: FTP_TLS.auth()
Set up secure control connection by using TLS or SSL, depending on what
Set up
a
secure control connection by using TLS or SSL, depending on what
specified in :meth
:`ssl_version` attribute.
is specified in the :attr
:`ssl_version` attribute.
.. versionchanged:: 3.4
.. versionchanged:: 3.4
The method now supports hostname check with
The method now supports hostname check with
...
...
Lib/doctest.py
View file @
2e4571a4
...
@@ -1573,7 +1573,7 @@ class OutputChecker:
...
@@ -1573,7 +1573,7 @@ class OutputChecker:
# If `want` contains hex-escaped character such as "\u1234",
# If `want` contains hex-escaped character such as "\u1234",
# then `want` is a string of six characters(e.g. [\,u,1,2,3,4]).
# then `want` is a string of six characters(e.g. [\,u,1,2,3,4]).
# On the other hand, `got` could be an
an
other sequence of
# On the other hand, `got` could be another sequence of
# characters such as [\u1234], so `want` and `got` should
# characters such as [\u1234], so `want` and `got` should
# be folded to hex-escaped ASCII string to compare.
# be folded to hex-escaped ASCII string to compare.
got
=
self
.
_toAscii
(
got
)
got
=
self
.
_toAscii
(
got
)
...
...
Lib/test/test_argparse.py
View file @
2e4571a4
...
@@ -3019,7 +3019,7 @@ class TestShortColumns(HelpTestCase):
...
@@ -3019,7 +3019,7 @@ class TestShortColumns(HelpTestCase):
'''Test extremely small number of columns.
'''Test extremely small number of columns.
TestCase prevents "COLUMNS" from being too small in the tests themselves,
TestCase prevents "COLUMNS" from being too small in the tests themselves,
but we don't want any exceptions thrown in such case. Only ugly representation.
but we don't want any exceptions thrown in such case
s
. Only ugly representation.
'''
'''
def
setUp
(
self
):
def
setUp
(
self
):
env
=
support
.
EnvironmentVarGuard
()
env
=
support
.
EnvironmentVarGuard
()
...
...
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