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
0d70227e
Commit
0d70227e
authored
Jun 03, 2019
by
Xtreak
Committed by
Petr Viktorin
Jun 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in docs and docstrings (GH-13745)
parent
e584cbff
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
16 additions
and
16 deletions
+16
-16
Doc/library/dis.rst
Doc/library/dis.rst
+1
-1
Doc/using/windows.rst
Doc/using/windows.rst
+1
-1
Doc/whatsnew/3.8.rst
Doc/whatsnew/3.8.rst
+1
-1
Lib/asyncio/unix_events.py
Lib/asyncio/unix_events.py
+1
-1
Lib/bdb.py
Lib/bdb.py
+1
-1
Lib/distutils/ccompiler.py
Lib/distutils/ccompiler.py
+1
-1
Lib/email/_header_value_parser.py
Lib/email/_header_value_parser.py
+1
-1
Lib/encodings/__init__.py
Lib/encodings/__init__.py
+1
-1
Lib/lib2to3/fixes/fix_metaclass.py
Lib/lib2to3/fixes/fix_metaclass.py
+1
-1
Lib/pstats.py
Lib/pstats.py
+2
-2
Lib/pyclbr.py
Lib/pyclbr.py
+1
-1
Lib/ssl.py
Lib/ssl.py
+1
-1
Lib/turtle.py
Lib/turtle.py
+1
-1
Lib/turtledemo/paint.py
Lib/turtledemo/paint.py
+1
-1
Lib/zipfile.py
Lib/zipfile.py
+1
-1
No files found.
Doc/library/dis.rst
View file @
0d70227e
...
...
@@ -708,7 +708,7 @@ iterations of the loop.
Cleans up the value stack and the block stack. If *preserve_tos* is not
``0`` TOS first is popped from the stack and pushed on the stack after
perfoming other stack operations:
perfo
r
ming other stack operations:
* If TOS is ``NULL`` or an integer (pushed by :opcode:`BEGIN_FINALLY`
or :opcode:`CALL_FINALLY`) it is popped from the stack.
...
...
Doc/using/windows.rst
View file @
0d70227e
...
...
@@ -815,7 +815,7 @@ Customizing default Python versions
In some cases, a version qualifier can be included in a command to dictate
which version of Python will be used by the command. A version qualifier
starts with a major version number and can optionally be followed by a period
('.') and a minor version specifier. Furthermore it is possible to specif
i
y
('.') and a minor version specifier. Furthermore it is possible to specify
if a 32 or 64 bit implementation shall be requested by adding "-32" or "-64".
For example, a shebang line of ``#!python`` has no version qualifier, while
...
...
Doc/whatsnew/3.8.rst
View file @
0d70227e
...
...
@@ -1286,7 +1286,7 @@ Changes in the C API
(Contributed by Zackery Spytz in :issue:`33407`.)
* The interpreter does not pretend to support binary compatibility of
extension types ac
c
ross feature releases, anymore. A :c:type:`PyTypeObject`
extension types across feature releases, anymore. A :c:type:`PyTypeObject`
exported by a third-party extension module is supposed to have all the
slots expected in the current Python version, including
:c:member:`~PyTypeObject.tp_finalize` (:const:`Py_TPFLAGS_HAVE_FINALIZE`
...
...
Lib/asyncio/unix_events.py
View file @
0d70227e
...
...
@@ -193,7 +193,7 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):
# prevents subprocess execution if the watcher
# is not ready to handle it.
raise
RuntimeError
(
"asyncio.get_child_watcher() is not activated, "
"subproc
c
ess support is not installed."
)
"subprocess support is not installed."
)
waiter
=
self
.
create_future
()
transp
=
_UnixSubprocessTransport
(
self
,
protocol
,
args
,
shell
,
stdin
,
stdout
,
stderr
,
bufsize
,
...
...
Lib/bdb.py
View file @
0d70227e
...
...
@@ -384,7 +384,7 @@ class Bdb:
return
None
def
_prune_breaks
(
self
,
filename
,
lineno
):
"""Prune breakpoints for filname:lineno.
"""Prune breakpoints for fil
e
name:lineno.
A list of breakpoints is maintained in the Bdb instance and in
the Breakpoint class. If a breakpoint in the Bdb instance no
...
...
Lib/distutils/ccompiler.py
View file @
0d70227e
...
...
@@ -545,7 +545,7 @@ class CCompiler:
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prep
a
nd/append to the compiler command
command-line arguments to prep
e
nd/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
...
...
Lib/email/_header_value_parser.py
View file @
0d70227e
...
...
@@ -2385,7 +2385,7 @@ def parse_mime_parameters(value):
the formal RFC grammar, but it is more convenient for us for the set of
parameters to be treated as its own TokenList.
This is 'parse' routine because it consumes the rem
ina
ing value, but it
This is 'parse' routine because it consumes the rem
ain
ing value, but it
would never be called to parse a full header. Instead it is called to
parse everything after the non-parameter value of a specific MIME header.
...
...
Lib/encodings/__init__.py
View file @
0d70227e
...
...
@@ -12,7 +12,7 @@
* getregentry() -> codecs.CodecInfo object
The getregentry() API must return a CodecInfo object with encoder, decoder,
incrementalencoder, incrementaldecoder, streamwriter and streamreader
att
t
ributes which adhere to the Python Codec Interface Standard.
attributes which adhere to the Python Codec Interface Standard.
In addition, a module may optionally also define the following
APIs which are then used by the package's codec search function:
...
...
Lib/lib2to3/fixes/fix_metaclass.py
View file @
0d70227e
"""Fixer for __metaclass__ = X -> (metaclass=X) methods.
The various forms of classef (inherits nothing, inherits once, inheri
n
ts
The various forms of classef (inherits nothing, inherits once, inherits
many) don't parse the same in the CST so we look at ALL classes for
a __metaclass__ and if we find one normalize the inherits to all be
an arglist.
...
...
Lib/pstats.py
View file @
0d70227e
...
...
@@ -632,12 +632,12 @@ if __name__ == '__main__':
print
(
""
,
file
=
self
.
stream
)
return
1
def
help_EOF
(
self
):
print
(
"Leave the profile brower."
,
file
=
self
.
stream
)
print
(
"Leave the profile brow
s
er."
,
file
=
self
.
stream
)
def
do_quit
(
self
,
line
):
return
1
def
help_quit
(
self
):
print
(
"Leave the profile brower."
,
file
=
self
.
stream
)
print
(
"Leave the profile brow
s
er."
,
file
=
self
.
stream
)
def
do_read
(
self
,
line
):
if
line
:
...
...
Lib/pyclbr.py
View file @
0d70227e
...
...
@@ -50,7 +50,7 @@ _modules = {} # Initialize cache of modules we've seen.
class
_Object
:
"Informaton about Python class or function."
"Informat
i
on about Python class or function."
def
__init__
(
self
,
module
,
name
,
file
,
lineno
,
parent
):
self
.
module
=
module
self
.
name
=
name
...
...
Lib/ssl.py
View file @
0d70227e
...
...
@@ -862,7 +862,7 @@ class SSLObject:
@
property
def
server_hostname
(
self
):
"""The currently set server hostname (for SNI), or ``None`` if no
server hostame is set."""
server host
n
ame is set."""
return
self
.
_sslobj
.
server_hostname
def
read
(
self
,
len
=
1024
,
buffer
=
None
):
...
...
Lib/turtle.py
View file @
0d70227e
...
...
@@ -833,7 +833,7 @@ class TurtleScreenBase(object):
Arguments: title is the title of the dialog window,
prompt is a text mostly describing what numerical information to input.
default: default value
minval: minimum value for i
m
put
minval: minimum value for i
n
put
maxval: maximum value for input
The number input must be in the range minval .. maxval if these are
...
...
Lib/turtledemo/paint.py
View file @
0d70227e
...
...
@@ -7,7 +7,7 @@ A simple event-driven paint program
- left mouse button moves turtle
- middle mouse button changes color
- right mouse button to
ogles betweem
pen up
- right mouse button to
ggles between
pen up
(no line drawn when the turtle moves) and
pen down (line is drawn). If pen up follows
at least two pen-down moves, the polygon that
...
...
Lib/zipfile.py
View file @
0d70227e
...
...
@@ -2163,7 +2163,7 @@ class Path:
>>> (b / 'missing.txt').exists()
False
Coer
s
ion to string:
Coer
c
ion to string:
>>> str(c)
'abcde.zip/b/c.txt'
...
...
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