Kaydet (Commit) 58c2c6eb 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 500794dc
......@@ -1323,7 +1323,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)
......
......@@ -1573,3 +1573,4 @@ Tarek Ziadé
Jelle Zijlstra
Gennadiy Zlobin
Peter Åstrand
Dhushyanth Ramasamy
\ No newline at end of file
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