mirror of
https://github.com/python/cpython.git
synced 2025-09-12 11:46:52 +00:00
Issue #29078: Add the missing import in datetime.time doc example.
Patch by Dhushyanth Ramasamy.
This commit is contained in:
parent
4398c12b47
commit
6721c7c3b2
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue