Issue #29078: Add the missing import in datetime.time doc example.

Patch by Dhushyanth Ramasamy.
This commit is contained in:
Xiang Zhang 2016-12-27 12:23:59 +08:00
parent 4398c12b47
commit 6721c7c3b2
2 changed files with 2 additions and 2 deletions

View 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)

View File

@ -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