summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2011-11-11 18:55:21 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2011-11-11 18:55:21 (GMT)
commit45c6c3eb71926981b4d63b62127284650a69b5c4 (patch)
treec45d25b3672a203513a17249b17556b82c9d31a5
parent992d9e081fab2061185b80c6decb57249b4612fe (diff)
downloadcpython-45c6c3eb71926981b4d63b62127284650a69b5c4.zip
cpython-45c6c3eb71926981b4d63b62127284650a69b5c4.tar.gz
cpython-45c6c3eb71926981b4d63b62127284650a69b5c4.tar.bz2
Few typos in the documentation.
-rw-r--r--Doc/library/builtins.rst2
-rw-r--r--Doc/library/imaplib.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/builtins.rst b/Doc/library/builtins.rst
index d4199d2..2cca1d0 100644
--- a/Doc/library/builtins.rst
+++ b/Doc/library/builtins.rst
@@ -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.
diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst
index 1d92fe5..3f45c95 100644
--- a/Doc/library/imaplib.rst
+++ b/Doc/library/imaplib.rst
@@ -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.