[Python-checkins] cpython (3.2): Fix few typos.
florent.xicluna
python-checkins at python.org
Fri Nov 11 19:39:54 CET 2011
http://hg.python.org/cpython/rev/27fe09ff14b7
changeset: 73508:27fe09ff14b7
branch: 3.2
parent: 73506:8a9482e5f5cc
user: Florent Xicluna <florent.xicluna at gmail.com>
date: Fri Nov 11 19:35:42 2011 +0100
summary:
Fix few typos.
files:
Lib/email/_parseaddr.py | 2 +-
Lib/imaplib.py | 2 +-
Lib/test/test_ast.py | 2 +-
Modules/Setup.dist | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Lib/email/_parseaddr.py b/Lib/email/_parseaddr.py
--- a/Lib/email/_parseaddr.py
+++ b/Lib/email/_parseaddr.py
@@ -178,7 +178,7 @@
front of you.
Note: this class interface is deprecated and may be removed in the future.
- Use rfc822.AddressList instead.
+ Use email.utils.AddressList instead.
"""
def __init__(self, field):
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -1385,7 +1385,7 @@
"""Convert date_time to IMAP4 INTERNALDATE representation.
Return string in form: '"DD-Mmm-YYYY HH:MM:SS +HHMM"'. The
- date_time argument can be a number (int or float) represening
+ date_time argument can be a number (int or float) representing
seconds since epoch (as returned by time.time()), a 9-tuple
representing local time (as returned by time.localtime()), or a
double-quoted string. In the last case, it is assumed to already
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py
--- a/Lib/test/test_ast.py
+++ b/Lib/test/test_ast.py
@@ -290,7 +290,7 @@
self.assertEqual(x.body, body)
def test_nodeclasses(self):
- # Zero arguments constructor explicitely allowed
+ # Zero arguments constructor explicitly allowed
x = ast.BinOp()
self.assertEqual(x._fields, ('left', 'op', 'right'))
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -291,7 +291,7 @@
#syslog syslogmodule.c # syslog daemon interface
-# Curses support, requring the System V version of curses, often
+# Curses support, requiring the System V version of curses, often
# provided by the ncurses library. e.g. on Linux, link with -lncurses
# instead of -lcurses).
#
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list