]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127552: Remove comment questioning 4-digit restriction for ‘Y’ in datetime.strptim...
authorBeomsoo Kim <beoms424@gmail.com>
Wed, 4 Dec 2024 18:30:51 +0000 (03:30 +0900)
committerGitHub <noreply@github.com>
Wed, 4 Dec 2024 18:30:51 +0000 (10:30 -0800)
commit51cfa569e379f84b3418db0971a71b1ef575a42b
tree82c68bebd8bb5aba2e4509e985e0b216a2f32d78
parent6bc3e830a518112a4e242217807681e3908602f4
gh-127552: Remove comment questioning 4-digit restriction for ‘Y’ in datetime.strptime patterns (#127590)

The code has required 4 digits for the year since its inclusion in the stdlib in 2002 (over 22 years ago as of this commit).
Lib/_strptime.py