Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6680f4a commit 14dbe4bCopy full SHA for 14dbe4b
1 file changed
Lib/_strptime.py
@@ -182,7 +182,7 @@ def __init__(self, locale_time=None):
182
self.locale_time = LocaleTime()
183
base = super()
184
base.__init__({
185
- # The " \d" part of the regex is to make %c from ANSI C work
+ # The " [1-9]" part of the regex is to make %c from ANSI C work
186
'd': r"(?P<d>3[0-1]|[1-2]\d|0[1-9]|[1-9]| [1-9])",
187
'f': r"(?P<f>[0-9]{1,6})",
188
'H': r"(?P<H>2[0-3]|[0-1]\d|\d)",
0 commit comments