Commit 45c6c3eb authored by Florent Xicluna's avatar Florent Xicluna

Few typos in the documentation.

parent 992d9e08
...@@ -36,6 +36,6 @@ that wants to implement an :func:`open` function that wraps the built-in ...@@ -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 As an implementation detail, most modules have the name ``__builtins__`` made
available as part of their globals. The value of ``__builtins__`` is normally 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 Since this is an implementation detail, it may not be used by alternate
implementations of Python. implementations of Python.
...@@ -109,7 +109,7 @@ The following utility functions are defined: ...@@ -109,7 +109,7 @@ The following utility functions are defined:
Convert *date_time* to an IMAP4 ``INTERNALDATE`` representation. The Convert *date_time* to an IMAP4 ``INTERNALDATE`` representation. The
return value is a string in the form: ``"DD-Mmm-YYYY HH:MM:SS 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 +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 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 :func:`time.localtime`), or a double-quoted string. In the last case, it
is assumed to already be in the correct format. is assumed to already be in the correct format.
......
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