]> granicus.if.org Git - python/commitdiff
Issue #29078: Add the missing import in datetime.time doc example.
authorXiang Zhang <angwerzx@126.com>
Tue, 27 Dec 2016 04:23:59 +0000 (12:23 +0800)
committerXiang Zhang <angwerzx@126.com>
Tue, 27 Dec 2016 04:23:59 +0000 (12:23 +0800)
Patch by Dhushyanth Ramasamy.

Doc/library/datetime.rst
Misc/ACKS

index b42e38d95ef82a7ee4a0dbea57c80eb92ee08ab3..4f3cfe3a6920bd58ba997f83f93877d9c8b465bd 100644 (file)
@@ -1460,7 +1460,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)
index e4b86390055e85baed1025290c9b63f256d67976..66c36608af78b01f0636b7882d9da86cfbd14642 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1677,7 +1677,6 @@ Nickolai Zeldovich
 Yuxiao Zeng
 Uwe Zessin
 Cheng Zhang
-Xiang Zhang
 Kai Zhu
 Tarek Ziadé
 Jelle Zijlstra
@@ -1686,3 +1685,4 @@ Doug Zongker
 Peter Ã…strand
 evilzero
 Chi Hsuan Yen
+Dhushyanth Ramasamy