Kaydet (Commit) 6721c7c3 authored tarafından Xiang Zhang's avatar Xiang Zhang

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

Patch by Dhushyanth Ramasamy.
üst 4398c12b
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment