diff options
author | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2009-02-19 18:52:21 (GMT) |
---|---|---|
committer | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2009-02-19 18:52:21 (GMT) |
commit | 5149742e8b3c8221d4cb53dcfc9a12ae3fec9238 (patch) | |
tree | d3b7dbc021eeed177f453603f8f59f0ad01b2e0e /Doc/includes/sqlite3 | |
parent | a630735b31b5ee0a1a59b3b28299e26a7ee74d9f (diff) | |
download | cpython-5149742e8b3c8221d4cb53dcfc9a12ae3fec9238.zip cpython-5149742e8b3c8221d4cb53dcfc9a12ae3fec9238.tar.gz cpython-5149742e8b3c8221d4cb53dcfc9a12ae3fec9238.tar.bz2 |
Since we recommend one module per import line, reflect this also in the
documentation.
Diffstat (limited to 'Doc/includes/sqlite3')
-rw-r--r-- | Doc/includes/sqlite3/adapter_datetime.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/includes/sqlite3/adapter_datetime.py b/Doc/includes/sqlite3/adapter_datetime.py index 3460498..56e533f 100644 --- a/Doc/includes/sqlite3/adapter_datetime.py +++ b/Doc/includes/sqlite3/adapter_datetime.py @@ -1,5 +1,6 @@ +import datetime import sqlite3 -import datetime, time +import time def adapt_datetime(ts): return time.mktime(ts.timetuple()) |