summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-08 13:18:25 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-08 13:18:25 (GMT)
commitf2f1c57b7e4dcd418c278dd45161a5de65bc05d3 (patch)
tree2a91e7ce343064eb416a217c9bbc095b455bffde /Lib
parentcdbf38cbd60946f0d9fe53be2c16214099cd93cb (diff)
downloadcpython-f2f1c57b7e4dcd418c278dd45161a5de65bc05d3.zip
cpython-f2f1c57b7e4dcd418c278dd45161a5de65bc05d3.tar.gz
cpython-f2f1c57b7e4dcd418c278dd45161a5de65bc05d3.tar.bz2
Fix typos in comments, documentation and test method names
Diffstat (limited to 'Lib')
-rw-r--r--Lib/_LWPCookieJar.py2
-rw-r--r--Lib/idlelib/ChangeLog2
-rw-r--r--Lib/lib-tk/Tkinter.py4
-rw-r--r--Lib/robotparser.py2
-rw-r--r--Lib/test/test_descr.py2
5 files changed, 6 insertions, 6 deletions
diff --git a/Lib/_LWPCookieJar.py b/Lib/_LWPCookieJar.py
index a446aeb..d91cb51 100644
--- a/Lib/_LWPCookieJar.py
+++ b/Lib/_LWPCookieJar.py
@@ -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 library, not known
to be compatible with any browser, but which is easy to read and
doesn't lose information about RFC 2965 cookies.
diff --git a/Lib/idlelib/ChangeLog b/Lib/idlelib/ChangeLog
index 985871b..968a344 100644
--- a/Lib/idlelib/ChangeLog
+++ b/Lib/idlelib/ChangeLog
@@ -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 'to to line number' dialog box.
+ Add parent argument to 'go to line number' dialog box.
Sat Oct 10 19:15:32 1998 Guido van Rossum <guido@cnri.reston.va.us>
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index 7944819..cc657fa 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -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 vor all events
+ # serial field: valid for 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)
diff --git a/Lib/robotparser.py b/Lib/robotparser.py
index b46b753..a7137a3 100644
--- a/Lib/robotparser.py
+++ b/Lib/robotparser.py
@@ -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 erronenously
+ # This prevents false positives when a user erroneously
# calls can_fetch() before calling read().
if not self.last_checked:
return False
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index b17bdbf..9bc114b 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -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_uninitialized_modules(self):
# Testing uninitialized module objects...
from types import ModuleType as M
m = M.__new__(M)