Skip to content

Commit fcc03cf

Browse files
committed
modify %t -> more general r'\s+' from '\t' to meet C99
1 parent d77ebf7 commit fcc03cf

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': '\t',
385+
't': r'\s+',
386386
'%': '%'
387387
}
388388
if self.locale_time.LC_alt_digits is None:

0 commit comments

Comments
 (0)