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
fix doc
  • Loading branch information
Agent-Hellboy committed Apr 26, 2023
commit 794dddc5205d1f4b57ae24ca7bf74f5865b1a230
72 changes: 36 additions & 36 deletions Doc/library/calendar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,31 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is
This enumeration defines the days of the week as integer constants.

.. attribute:: MONDAY

The constant for Monday, with a value of 0.

.. attribute:: TUESDAY

The constant for Tuesday, with a value of 1.

.. attribute:: WEDNESDAY

The constant for Wednesday, with a value of 2.

.. attribute:: THURSDAY

The constant for Thursday, with a value of 3.

.. attribute:: FRIDAY

The constant for Friday, with a value of 4.

.. attribute:: SATURDAY

The constant for Saturday, with a value of 5.

.. attribute:: SUNDAY
Comment thread
Agent-Hellboy marked this conversation as resolved.

The constant for Sunday, with a value of 6.


Expand All @@ -68,51 +68,51 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is
This enumeration defines the months of the year as integer constants.
Comment thread
merwok marked this conversation as resolved.
Outdated

.. attribute:: JANUARY

The constant for January, with a value of 1.

.. attribute:: FEBRUARY

The constant for February, with a value of 2.

.. attribute:: MARCH

The constant for March, with a value of 3.

.. attribute:: APRIL

The constant for April, with a value of 4.

.. attribute:: MAY

The constant for May, with a value of 5.

.. attribute:: JUNE

The constant for June, with a value of 6.

.. attribute:: JULY

The constant for July, with a value of 7.

.. attribute:: AUGUST

The constant for August, with a value of 8.

.. attribute:: SEPTEMBER

The constant for September, with a value of 9.

.. attribute:: OCTOBER

The constant for October, with a value of 10.

.. attribute:: NOVEMBER

The constant for November, with a value of 11.

.. attribute:: DECEMBER
Comment thread
Agent-Hellboy marked this conversation as resolved.

The constant for December, with a value of 12.


Expand Down
4 changes: 2 additions & 2 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ sys
calendar
Comment thread
Agent-Hellboy marked this conversation as resolved.
Outdated
--------

* Added Enum for Month and Day
* Added Enum for Month and Day
Comment thread
Agent-Hellboy marked this conversation as resolved.
Outdated
(Contributed by Prince Roshan in :gh:`103636`.)

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

* :data:`January` and :data:`February` is deprated from :mod:`calendar`
* :data:`January` and :data:`February` is deprated from :mod:`calendar`
use :data:`JANUARY` and :data:`FEBRUARY` instead

Pending Removal in Python 3.13
Expand Down