Skip to content

Commit

Permalink
Update calendar.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
StanFromIreland authored Jan 5, 2025
1 parent a76f362 commit 89fb5fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/calendar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
This module allows you to output calendars like the Unix :program:`cal` program,
and provides additional useful functions related to the calendar. By default,
these calendars have Monday as the first day of the week, and Sunday as the last
(the European convention). Use :func:`setfirstweekday` to set the ``firstweekday``
(the European convention). Use :func:`setfirstweekday` to set the :attr:`firstweekday`
to Sunday (6) or to any other weekday. Parameters that specify dates
are given as integers. For related functionality, see also the :mod:`datetime`
and :mod:`time` modules.
Expand Down Expand Up @@ -46,7 +46,7 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is

.. method:: setfirstweekday(firstweekday)

Change the first weekday by setting ``firstweekday`` to an :class:`int` (0–6).
Change the first weekday by setting *firstweekday* to an :class:`int` (0–6).

.. method:: iterweekdays()

Expand Down

0 comments on commit 89fb5fd

Please sign in to comment.