Commit 6721c7c3 authored by Xiang Zhang's avatar Xiang Zhang

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

Patch by Dhushyanth Ramasamy.
parent 4398c12b
...@@ -1460,7 +1460,7 @@ Instance methods: ...@@ -1460,7 +1460,7 @@ Instance methods:
Example: Example:
>>> from datetime import time, tzinfo >>> from datetime import time, tzinfo, timedelta
>>> class GMT1(tzinfo): >>> class GMT1(tzinfo):
... def utcoffset(self, dt): ... def utcoffset(self, dt):
... return timedelta(hours=1) ... return timedelta(hours=1)
......
...@@ -1677,7 +1677,6 @@ Nickolai Zeldovich ...@@ -1677,7 +1677,6 @@ Nickolai Zeldovich
Yuxiao Zeng Yuxiao Zeng
Uwe Zessin Uwe Zessin
Cheng Zhang Cheng Zhang
Xiang Zhang
Kai Zhu Kai Zhu
Tarek Ziadé Tarek Ziadé
Jelle Zijlstra Jelle Zijlstra
...@@ -1686,3 +1685,4 @@ Doug Zongker ...@@ -1686,3 +1685,4 @@ Doug Zongker
Peter Åstrand Peter Åstrand
evilzero evilzero
Chi Hsuan Yen 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