mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Fix outdated comment in _strptime.py (GH-17929)
Can I please get the tags for skipping bpo and skipping a news item?
This commit is contained in:
parent
6680f4a9f5
commit
14dbe4b3f0
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ class TimeRE(dict):
|
|||
self.locale_time = LocaleTime()
|
||||
base = super()
|
||||
base.__init__({
|
||||
# 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
|
||||
'd': r"(?P<d>3[0-1]|[1-2]\d|0[1-9]|[1-9]| [1-9])",
|
||||
'f': r"(?P<f>[0-9]{1,6})",
|
||||
'H': r"(?P<H>2[0-3]|[0-1]\d|\d)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue