From 58c2c6ebb893917e759cc1401b0d862b3f7c1a94 Mon Sep 17 00:00:00 2001 From: Xiang Zhang Date: Tue, 27 Dec 2016 12:21:28 +0800 Subject: [PATCH] Issue #29078: Add the missing import in datetime.time doc example. Patch by Dhushyanth Ramasamy. --- Doc/library/datetime.rst | 2 +- Misc/ACKS | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 5c4ff38188e4..b8d86e3b5a73 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -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) diff --git a/Misc/ACKS b/Misc/ACKS index 9cbc230fc068..ee73c542a25e 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1573,3 +1573,4 @@ Tarek Ziadé Jelle Zijlstra Gennadiy Zlobin Peter Åstrand +Dhushyanth Ramasamy \ No newline at end of file -- 2.47.3