From: Victor Stinner Date: Wed, 4 Jan 2017 11:01:16 +0000 (+0100) Subject: Issue #24773: fix datetime.time constructor docstring X-Git-Tag: v3.6.1rc1~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51b90d28e21293cbb6763c26ea88de45508c2de9;p=python Issue #24773: fix datetime.time constructor docstring The default value of fold is zero, not True. Fix the docstring of the Python implementation. --- diff --git a/Lib/datetime.py b/Lib/datetime.py index 7540109684..5d5579c1c6 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