Few typos in the documentation.

This commit is contained in:
Florent Xicluna 2011-11-11 19:55:21 +01:00
parent 992d9e081f
commit 45c6c3eb71
2 changed files with 2 additions and 2 deletions

View file

@ -36,6 +36,6 @@ that wants to implement an :func:`open` function that wraps the built-in
As an implementation detail, most modules have the name ``__builtins__`` made
available as part of their globals. The value of ``__builtins__`` is normally
either this module or the value of this modules's :attr:`__dict__` attribute.
either this module or the value of this module's :attr:`__dict__` attribute.
Since this is an implementation detail, it may not be used by alternate
implementations of Python.

View file

@ -109,7 +109,7 @@ The following utility functions are defined:
Convert *date_time* to an IMAP4 ``INTERNALDATE`` representation. The
return value is a string in the form: ``"DD-Mmm-YYYY HH:MM:SS
+HHMM"`` (including double-quotes). The *date_time* argument can be a
number (int or float) represening seconds since epoch (as returned
number (int or float) representing seconds since epoch (as returned
by :func:`time.time`), a 9-tuple representing local time (as returned by
:func:`time.localtime`), or a double-quoted string. In the last case, it
is assumed to already be in the correct format.