diff options
author | Ram Rachum <ram@rachum.com> | 2020-01-12 20:53:00 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-01-12 20:53:00 (GMT) |
commit | 14dbe4b3f0a888a60e8cc20f3df5aa09c8bb82c3 (patch) | |
tree | b2495c5a3bdc044314b3372dda369e26d4c23501 /Lib/_strptime.py | |
parent | 6680f4a9f5d15ab82b2ab6266c6f917cb78c919a (diff) | |
download | cpython-14dbe4b3f0a888a60e8cc20f3df5aa09c8bb82c3.zip cpython-14dbe4b3f0a888a60e8cc20f3df5aa09c8bb82c3.tar.gz cpython-14dbe4b3f0a888a60e8cc20f3df5aa09c8bb82c3.tar.bz2 |
Fix outdated comment in _strptime.py (GH-17929)
Can I please get the tags for skipping bpo and skipping a news item?
Diffstat (limited to 'Lib/_strptime.py')
-rw-r--r-- | Lib/_strptime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_strptime.py b/Lib/_strptime.py index f4f3c0b..5df37f5 100644 --- a/Lib/_strptime.py +++ b/Lib/_strptime.py @@ -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)", |