summaryrefslogtreecommitdiffstats
path: root/Doc/library/datetime.rst
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2016-12-27 04:30:42 (GMT)
committerXiang Zhang <angwerzx@126.com>2016-12-27 04:30:42 (GMT)
commitb8a1aebb3d604924e42653feb536ef7e978ac59a (patch)
tree9a7041bc984141308b0b633a773f0cae1a93730e /Doc/library/datetime.rst
parenta8803d21e75d486e1c3a037906b01eb2de82f5a7 (diff)
parent6721c7c3b2b25a76b76c1660e8da5efdefd91122 (diff)
downloadcpython-b8a1aebb3d604924e42653feb536ef7e978ac59a.zip
cpython-b8a1aebb3d604924e42653feb536ef7e978ac59a.tar.gz
cpython-b8a1aebb3d604924e42653feb536ef7e978ac59a.tar.bz2
Issue #29078: Merge 3.5.
Diffstat (limited to 'Doc/library/datetime.rst')
-rw-r--r--Doc/library/datetime.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
index 9dab353..c931855 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -1582,7 +1582,7 @@ Instance methods:
Example:
- >>> from datetime import time, tzinfo
+ >>> from datetime import time, tzinfo, timedelta
>>> class GMT1(tzinfo):
... def utcoffset(self, dt):
... return timedelta(hours=1)