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
f2f1c57b
Commit
f2f1c57b
authored
May 08, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in comments, documentation and test method names
parent
cdbf38cb
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
11 deletions
+11
-11
Doc/howto/logging-cookbook.rst
Doc/howto/logging-cookbook.rst
+1
-1
Doc/library/logging.handlers.rst
Doc/library/logging.handlers.rst
+1
-1
Lib/_LWPCookieJar.py
Lib/_LWPCookieJar.py
+1
-1
Lib/idlelib/ChangeLog
Lib/idlelib/ChangeLog
+1
-1
Lib/lib-tk/Tkinter.py
Lib/lib-tk/Tkinter.py
+2
-2
Lib/robotparser.py
Lib/robotparser.py
+1
-1
Lib/test/test_descr.py
Lib/test/test_descr.py
+1
-1
Mac/BuildScript/scripts/postflight.patch-profile
Mac/BuildScript/scripts/postflight.patch-profile
+2
-2
Misc/HISTORY
Misc/HISTORY
+1
-1
No files found.
Doc/howto/logging-cookbook.rst
View file @
f2f1c57b
...
...
@@ -1247,7 +1247,7 @@ flushing behavior.
The example script has a simple function, ``foo``, which just cycles through
all the logging levels, writing to ``sys.stderr`` to say what level it's about
to log at, and then actually logging a message
th
at that level. You can pass a
to log at, and then actually logging a message at that level. You can pass a
parameter to ``foo`` which, if true, will log at ERROR and CRITICAL levels -
otherwise, it only logs at DEBUG, INFO and WARNING levels.
...
...
Doc/library/logging.handlers.rst
View file @
f2f1c57b
...
...
@@ -349,7 +349,7 @@ sends logging output to a network socket. The base class uses a TCP socket.
.. method:: createSocket()
Tries to create a socket; on failure, uses an exponential back-off
algorithm. On intial failure, the handler will drop the message it was
algorithm. On in
i
tial failure, the handler will drop the message it was
trying to send. When subsequent messages are handled by the same
instance, it will not try connecting until some time has passed. The
default parameters are such that the initial delay is one second, and if
...
...
Lib/_LWPCookieJar.py
View file @
f2f1c57b
...
...
@@ -49,7 +49,7 @@ def lwp_cookie_str(cookie):
class
LWPCookieJar
(
FileCookieJar
):
"""
The LWPCookieJar saves a sequence of "Set-Cookie3" lines.
"Set-Cookie3" is the format used by the libwww-perl libary, not known
"Set-Cookie3" is the format used by the libwww-perl lib
r
ary, not known
to be compatible with any browser, but which is easy to read and
doesn't lose information about RFC 2965 cookies.
...
...
Lib/idlelib/ChangeLog
View file @
f2f1c57b
...
...
@@ -1574,7 +1574,7 @@ Mon Oct 12 23:59:27 1998 Guido van Rossum <guido@cnri.reston.va.us>
* Attic/PopupMenu.py: Pass a root to the help window.
* SearchBinding.py:
Add parent argument to '
t
o to line number' dialog box.
Add parent argument to '
g
o to line number' dialog box.
Sat Oct 10 19:15:32 1998 Guido van Rossum <guido@cnri.reston.va.us>
...
...
Lib/lib-tk/Tkinter.py
View file @
f2f1c57b
...
...
@@ -1244,7 +1244,7 @@ class Misc:
nsign, b, f, h, k, s, t, w, x, y, A, E, K, N, W, T, X, Y, D = args
# Missing: (a, c, d, m, o, v, B, R)
e = Event()
# serial field: valid
v
or all events
# serial field: valid
f
or all events
# number of button: ButtonPress and ButtonRelease events only
# height field: Configure, ConfigureRequest, Create,
# ResizeRequest, and Expose events only
...
...
@@ -1256,7 +1256,7 @@ class Misc:
# y field: "
valid
for
events
that
contain
a
y
field
"
# keysym as decimal: KeyPress and KeyRelease events only
# x_root, y_root fields: ButtonPress, ButtonRelease, KeyPress,
# KeyRelease,and Motion events
# KeyRelease,
and Motion events
e.serial = getint(nsign)
e.num = getint_event(b)
try: e.focus = getboolean(f)
...
...
Lib/robotparser.py
View file @
f2f1c57b
...
...
@@ -136,7 +136,7 @@ class RobotFileParser:
# Until the robots.txt file has been read or found not
# to exist, we must assume that no url is allowable.
# This prevents false positives when a user errone
n
ously
# This prevents false positives when a user erroneously
# calls can_fetch() before calling read().
if
not
self
.
last_checked
:
return
False
...
...
Lib/test/test_descr.py
View file @
f2f1c57b
...
...
@@ -3723,7 +3723,7 @@ order (MRO) for bases """
b
.
a
=
a
z
=
deepcopy
(
a
)
# This blew up before
def
test_unintialized_modules
(
self
):
def
test_unin
i
tialized_modules
(
self
):
# Testing uninitialized module objects...
from
types
import
ModuleType
as
M
m
=
M
.
__new__
(
M
)
...
...
Mac/BuildScript/scripts/postflight.patch-profile
View file @
f2f1c57b
...
...
@@ -58,7 +58,7 @@ case "${BSH}" in
fi
echo
""
>>
"
${
RC
}
"
echo
"# Setting PATH for Python
${
PYVER
}
"
>>
"
${
RC
}
"
echo
"# The orginal version is saved in .cshrc.pysave"
>>
"
${
RC
}
"
echo
"# The or
i
ginal version is saved in .cshrc.pysave"
>>
"
${
RC
}
"
echo
"set path=(
${
PYTHON_ROOT
}
/bin "
'$path'
")"
>>
"
${
RC
}
"
if
[
`
id
-ur
`
=
0
]
;
then
chown
"
${
USER
}
"
"
${
RC
}
"
...
...
@@ -90,7 +90,7 @@ if [ -f "${PR}" ]; then
fi
echo
""
>>
"
${
PR
}
"
echo
"# Setting PATH for Python
${
PYVER
}
"
>>
"
${
PR
}
"
echo
"# The orginal version is saved in
`
basename
${
PR
}
`
.pysave"
>>
"
${
PR
}
"
echo
"# The or
i
ginal version is saved in
`
basename
${
PR
}
`
.pysave"
>>
"
${
PR
}
"
echo
'PATH="'
"
${
PYTHON_ROOT
}
/bin"
':${PATH}"'
>>
"
${
PR
}
"
echo
'export PATH'
>>
"
${
PR
}
"
if
[
`
id
-ur
`
=
0
]
;
then
...
...
Misc/HISTORY
View file @
f2f1c57b
...
...
@@ -3134,7 +3134,7 @@ Core and builtins
-
When
method
objects
have
an
attribute
that
can
be
satisfied
either
by
the
function
object
or
by
the
method
object
,
the
function
object
'
s
attribute
usually
wins
.
Christian
Tismer
pointed
out
that
th
at
th
is
is
really
a
mistake
,
because
this
only
happens
for
special
this
is
really
a
mistake
,
because
this
only
happens
for
special
methods
(
like
__reduce__
)
where
the
method
object
'
s
version
is
really
more
appropriate
than
the
function
'
s
attribute
.
So
from
now
on
,
all
method
attributes
will
have
precedence
over
function
...
...
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