Issue #24773: fix datetime.time constructor docstring

The default value of fold is zero, not True. Fix the docstring of the Python
implementation.
This commit is contained in:
Victor Stinner 2017-01-04 12:01:16 +01:00
parent 423c16b4c3
commit 51b90d28e2
1 changed files with 1 additions and 1 deletions

View File

@ -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