summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-16 12:34:31 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-16 12:34:31 +0200
commite7c82c7fc6e7deb65f2287ab8a6094ca34044298 (patch)
treeaf822acfd9490c166de0865e327d7468ff8c851f /Doc
parentaf281dd3e8d4c93cc5ce5b1e6b41474dc4b8f9f1 (diff)
downloadcpython-e7c82c7fc6e7deb65f2287ab8a6094ca34044298.tar.gz
#11565: Fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/includes/sqlite3/shared_cache.py2
-rw-r--r--Doc/library/imaplib.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/includes/sqlite3/shared_cache.py b/Doc/includes/sqlite3/shared_cache.py
index bf1d7b4a21..30e71c935f 100644
--- a/Doc/includes/sqlite3/shared_cache.py
+++ b/Doc/includes/sqlite3/shared_cache.py
@@ -1,6 +1,6 @@
import sqlite3
# The shared cache is only available in SQLite versions 3.3.3 or later
-# See the SQLite documentaton for details.
+# See the SQLite documentation for details.
sqlite3.enable_shared_cache(True)
diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst
index fd090417db..95bdc702e1 100644
--- a/Doc/library/imaplib.rst
+++ b/Doc/library/imaplib.rst
@@ -104,7 +104,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.