summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2011-11-11 18:35:42 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2011-11-11 18:35:42 (GMT)
commit992d9e081fab2061185b80c6decb57249b4612fe (patch)
treea32ce1f87e8e169aebba4f3f4212ad27c1924983 /Lib
parent490062b42cc998022124fd98efb171489acce429 (diff)
downloadcpython-992d9e081fab2061185b80c6decb57249b4612fe.zip
cpython-992d9e081fab2061185b80c6decb57249b4612fe.tar.gz
cpython-992d9e081fab2061185b80c6decb57249b4612fe.tar.bz2
Fix few typos.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/email/_parseaddr.py2
-rw-r--r--Lib/imaplib.py2
-rw-r--r--Lib/test/test_ast.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/email/_parseaddr.py b/Lib/email/_parseaddr.py
index 41694f9..a295757 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 1022e77..1fcba21 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 7d1649c..2ba3ea5 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'))