Skip to content

Commit f4c4751

Browse files
Fixup merge
1 parent be40130 commit f4c4751

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

Lib/_strptime.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -300,15 +300,9 @@ def __init__(self, locale_time=None):
300300
'u': r"(?P<u>[1-7])",
301301
'V': r"(?P<V>5[0-3]|0[1-9]|[1-4][0-9]|[0-9])",
302302
# W is set below by using 'U'
303-
<<<<<<< ascii-strptime
304303
'y': r"(?P<y>[0-9][0-9])",
305304
'Y': r"(?P<Y>[0-9]{4})",
306-
'z': r"(?P<z>[+-][0-9][0-9]:?[0-5][0-9](:?[0-5][0-9](\.[0-9]{1,6})?)?|(?-i:Z))",
307-
=======
308-
'y': r"(?P<y>\d\d)",
309-
'Y': r"(?P<Y>\d\d\d\d)",
310-
'z': r"(?P<z>([+-]\d\d:?[0-5]\d(:?[0-5]\d(\.\d{1,6})?)?)|(?-i:Z))?",
311-
>>>>>>> main
305+
'z': r"(?P<z>([+-][0-9][0-9]:?[0-5][0-9](:?[0-5][0-9](\.[0-9]{1,6})?)?)|(?-i:Z))?",
312306
'A': self.__seqToRE(self.locale_time.f_weekday, 'A'),
313307
'a': self.__seqToRE(self.locale_time.a_weekday, 'a'),
314308
'B': self.__seqToRE(self.locale_time.f_month[1:], 'B'),

0 commit comments

Comments
 (0)