Skip to content

Commit dac5692

Browse files
committed
correctly capture '' with '\s*' instead of '\s+'
1 parent d199d0b commit dac5692

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/_strptime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def __init__(self, locale_time=None):
382382
'Z': self.__seqToRE((tz for tz_names in self.locale_time.timezone
383383
for tz in tz_names),
384384
'Z'),
385-
't': r'\s+',
385+
't': r'\s*',
386386
'%': '%'
387387
}
388388
if self.locale_time.LC_alt_digits is None:

0 commit comments

Comments
 (0)