summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorNadeshiko Manju <me@manjusaka.me>2024-11-15 19:03:06 (GMT)
committerGitHub <noreply@github.com>2024-11-15 19:03:06 (GMT)
commit3be7498d2450519d5d8f63a35ef298db3b3d935b (patch)
tree12f3c6ae4c394f98f49543aebdcee541bd4423b4 /Misc/NEWS.d/next
parenta2c180f4e768267b12beda7f02436eb4a481dbe2 (diff)
downloadcpython-3be7498d2450519d5d8f63a35ef298db3b3d935b.zip
cpython-3be7498d2450519d5d8f63a35ef298db3b3d935b.tar.gz
cpython-3be7498d2450519d5d8f63a35ef298db3b3d935b.tar.bz2
gh-126476: Raise IllegalMonthError for calendar.formatmonth() when the input month is not correct (GH-126484)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Library/2024-11-06-18-30-50.gh-issue-126476.F1wh3c.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-11-06-18-30-50.gh-issue-126476.F1wh3c.rst b/Misc/NEWS.d/next/Library/2024-11-06-18-30-50.gh-issue-126476.F1wh3c.rst
new file mode 100644
index 0000000..f558c29
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-11-06-18-30-50.gh-issue-126476.F1wh3c.rst
@@ -0,0 +1,2 @@
+Raise :class:`calendar.IllegalMonthError` (now a subclass of :class:`IndexError`) for :func:`calendar.month`
+when the input month is not correct.