diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-04 11:01:16 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-04 11:01:16 (GMT) |
commit | 51b90d28e21293cbb6763c26ea88de45508c2de9 (patch) | |
tree | a196aaeab09149a2c9abb7a337d297c068144d50 /Lib | |
parent | 423c16b4c3454c8d8c4091ffb4538394a02c75d5 (diff) | |
download | cpython-51b90d28e21293cbb6763c26ea88de45508c2de9.zip cpython-51b90d28e21293cbb6763c26ea88de45508c2de9.tar.gz cpython-51b90d28e21293cbb6763c26ea88de45508c2de9.tar.bz2 |
Issue #24773: fix datetime.time constructor docstring
The default value of fold is zero, not True. Fix the docstring of the Python
implementation.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/datetime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/datetime.py b/Lib/datetime.py index 7540109..5d5579c 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 |