From: Xiang Zhang Date: Tue, 27 Dec 2016 04:23:59 +0000 (+0800) Subject: Issue #29078: Add the missing import in datetime.time doc example. X-Git-Tag: v3.5.3rc1~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6721c7c3b2b25a76b76c1660e8da5efdefd91122;p=thirdparty%2FPython%2Fcpython.git Issue #29078: Add the missing import in datetime.time doc example. Patch by Dhushyanth Ramasamy. --- diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index b42e38d95ef8..4f3cfe3a6920 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -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) diff --git a/Misc/ACKS b/Misc/ACKS index e4b86390055e..66c36608af78 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -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