mirror of https://github.com/python/cpython
Merge 3.6
This commit is contained in:
commit
11edf29025
|
@ -1053,7 +1053,7 @@ class time:
|
||||||
hour, minute (required)
|
hour, minute (required)
|
||||||
second, microsecond (default to zero)
|
second, microsecond (default to zero)
|
||||||
tzinfo (default to None)
|
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:
|
if isinstance(hour, bytes) and len(hour) == 6 and hour[0]&0x7F < 24:
|
||||||
# Pickle support
|
# Pickle support
|
||||||
|
|
Loading…
Reference in New Issue