From: Florent Xicluna Date: Fri, 11 Nov 2011 18:35:42 +0000 (+0100) Subject: Fix few typos. X-Git-Tag: v3.2.3rc1~398 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=992d9e081fab2061185b80c6decb57249b4612fe;p=thirdparty%2FPython%2Fcpython.git Fix few typos. --- diff --git a/Lib/email/_parseaddr.py b/Lib/email/_parseaddr.py index 41694f9b1aca..a29575728176 100644 --- a/Lib/email/_parseaddr.py +++ b/Lib/email/_parseaddr.py @@ -178,7 +178,7 @@ class AddrlistClass: 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 index 1022e77c4f60..1fcba21176dc 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -1385,7 +1385,7 @@ def Time2Internaldate(date_time): """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 index 7d1649c1155c..2ba3ea552d4d 100644 --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py @@ -290,7 +290,7 @@ class AST_Tests(unittest.TestCase): 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 index e1c8fe48f82f..9269ddf2869c 100644 --- a/Modules/Setup.dist +++ b/Modules/Setup.dist @@ -291,7 +291,7 @@ _symtable symtablemodule.c #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). #