]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103636: add enums for days and months in calendar module (GH-103642)
authorPrince Roshan <princekrroshan01@gmail.com>
Tue, 25 Apr 2023 02:51:27 +0000 (08:21 +0530)
committerGitHub <noreply@github.com>
Tue, 25 Apr 2023 02:51:27 +0000 (19:51 -0700)
commitb934f97850b7b2db30fa2b26720d58aac4783149
treee8be6e7a0c32dc3310d134aef35744d0cde14849
parent57f8f9a66d4d0b5e590f7746a58136b3b45b1336
gh-103636: add enums for days and months in calendar module (GH-103642)

Convert day contants to a Day enum, and add a Month enum.
Lib/calendar.py
Misc/NEWS.d/next/Library/2023-04-21-10-25-39.gh-issue-103636.YK6NEa.rst [new file with mode: 0644]