Kaydet (Commit) 992d9e08 authored tarafından Florent Xicluna's avatar Florent Xicluna

Fix few typos.

üst 490062b4
...@@ -178,7 +178,7 @@ class AddrlistClass: ...@@ -178,7 +178,7 @@ class AddrlistClass:
front of you. front of you.
Note: this class interface is deprecated and may be removed in the future. 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): def __init__(self, field):
......
...@@ -1385,7 +1385,7 @@ def Time2Internaldate(date_time): ...@@ -1385,7 +1385,7 @@ def Time2Internaldate(date_time):
"""Convert date_time to IMAP4 INTERNALDATE representation. """Convert date_time to IMAP4 INTERNALDATE representation.
Return string in form: '"DD-Mmm-YYYY HH:MM:SS +HHMM"'. The 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 seconds since epoch (as returned by time.time()), a 9-tuple
representing local time (as returned by time.localtime()), or a representing local time (as returned by time.localtime()), or a
double-quoted string. In the last case, it is assumed to already double-quoted string. In the last case, it is assumed to already
......
...@@ -290,7 +290,7 @@ class AST_Tests(unittest.TestCase): ...@@ -290,7 +290,7 @@ class AST_Tests(unittest.TestCase):
self.assertEqual(x.body, body) self.assertEqual(x.body, body)
def test_nodeclasses(self): def test_nodeclasses(self):
# Zero arguments constructor explicitely allowed # Zero arguments constructor explicitly allowed
x = ast.BinOp() x = ast.BinOp()
self.assertEqual(x._fields, ('left', 'op', 'right')) self.assertEqual(x._fields, ('left', 'op', 'right'))
......
...@@ -291,7 +291,7 @@ _symtable symtablemodule.c ...@@ -291,7 +291,7 @@ _symtable symtablemodule.c
#syslog syslogmodule.c # syslog daemon interface #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 # provided by the ncurses library. e.g. on Linux, link with -lncurses
# instead of -lcurses). # instead of -lcurses).
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment