From 51b90d28e21293cbb6763c26ea88de45508c2de9 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 4 Jan 2017 12:01:16 +0100 Subject: [PATCH] Issue #24773: fix datetime.time constructor docstring The default value of fold is zero, not True. Fix the docstring of the Python implementation. --- Lib/datetime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/datetime.py b/Lib/datetime.py index 75401096842..5d5579c1c6f 100644 --- a/Lib/datetime.py +++ b/Lib/datetime.py @@ -1053,7 +1053,7 @@ class time: hour, minute (required) second, microsecond (default to zero) tzinfo (default to None) - fold (keyword only, default to True) + fold (keyword only, default to zero) """ if isinstance(hour, bytes) and len(hour) == 6 and hour[0]&0x7F < 24: # Pickle support