Skip to content

Commit bd3bfd1

Browse files
EoinTrialpicnixz
andauthored
Apply suggestions from code review
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent c4e2753 commit bd3bfd1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Doc/library/calendar.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -580,11 +580,8 @@ The :mod:`!calendar` module defines the following exceptions:
580580

581581
.. exception:: IllegalMonthError(month)
582582

583-
A subclass of both :exc:`ValueError` and :exc:`IndexError`,
583+
A subclass of :exc:`ValueError` and :exc:`IndexError`,
584584
raised when the given month number is outside of the range 1-12 (inclusive).
585-
The :exc:`IndexError` base class is preserved for backwards compatibility
586-
with code that caught :exc:`IndexError` for bad month numbers prior to
587-
Python 3.13.
588585

589586
.. versionchanged:: 3.12
590587
:exc:`IllegalMonthError` is now also a subclass of

0 commit comments

Comments
 (0)