Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
Agent-Hellboy and hugovk authored Apr 27, 2023
commit 57ee1f999d6702144ef84a1ef4d6cd798a55d43b
5 changes: 3 additions & 2 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ sys
calendar
Comment thread
Agent-Hellboy marked this conversation as resolved.
Outdated
--------

* Added Enum for Month and Day
* Add enums for month and day. For example: ``JANUARY`` and ``MONDAY``.
(Contributed by Prince Roshan in :gh:`103636`.)

Optimizations
Expand Down Expand Up @@ -658,8 +658,9 @@ Deprecated
Python 3.14, when ``'data'`` filter will become the default.
See :ref:`tarfile-extraction-filter` for details.

* ``January`` and ``February`` is deprecated from :mod:`calendar`,
* ``January`` and ``February`` are deprecated from :mod:`calendar`,
use ``JANUARY`` and ``FEBRUARY`` instead.
(Contributed by Prince Roshan in :gh:`103636`.)

Pending Removal in Python 3.13
------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module-level attribute January and February is deprecated from :mod:`calendar`
Module-level attributes ``January`` and ``February`` are deprecated from :mod:`calendar`.