summaryrefslogtreecommitdiffstats
path: root/Lib/_strptime.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-01-29 03:49:43 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-01-29 03:49:43 (GMT)
commit2c60f7a13697bbc19c4d5ef0b052c34cf1848244 (patch)
tree7e33cdc40b1e60ad8729008f344bb8849e1373e1 /Lib/_strptime.py
parentc0c12b57070a5b494662bebc418e3958bf5bdbee (diff)
downloadcpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.zip
cpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.tar.gz
cpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/_strptime.py')
-rw-r--r--Lib/_strptime.py6
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))