diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-29 03:49:43 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-29 03:49:43 (GMT) |
commit | 2c60f7a13697bbc19c4d5ef0b052c34cf1848244 (patch) | |
tree | 7e33cdc40b1e60ad8729008f344bb8849e1373e1 /Lib/_strptime.py | |
parent | c0c12b57070a5b494662bebc418e3958bf5bdbee (diff) | |
download | cpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.zip cpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.tar.gz cpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/_strptime.py')
-rw-r--r-- | Lib/_strptime.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/_strptime.py b/Lib/_strptime.py index 0863426..4afc8fc 100644 --- a/Lib/_strptime.py +++ b/Lib/_strptime.py @@ -499,12 +499,12 @@ def strptime(data_string, format="%a %b %d %H:%M:%S %Y"): #populous then just inline calculations. Also might be able to use #``datetime`` and the methods it provides. if julian == -1: - julian = julianday(year, month, day) + julian = julianday(year, month, day) else: # Assuming that if they bothered to include Julian day it will #be accurate - year, month, day = gregorian(julian, year) + year, month, day = gregorian(julian, year) if weekday == -1: - weekday = dayofweek(year, month, day) + weekday = dayofweek(year, month, day) return time.struct_time((year, month, day, hour, minute, second, weekday, julian, tz)) |