Issue #29078: Add the missing import in datetime.time doc example.
Patch by Dhushyanth Ramasamy.
This commit is contained in:
parent
4398c12b47
commit
6721c7c3b2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue