Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ee66c33

Browse filesBrowse files
authored
gh-114909: Add --first-weekday option to usage message (#114910)
1 parent b3f0b69 commit ee66c33
Copy full SHA for ee66c33

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed

‎Doc/library/calendar.rst

Copy file name to clipboardExpand all lines: Doc/library/calendar.rst
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ to interactively print a calendar.
512512
513513
python -m calendar [-h] [-L LOCALE] [-e ENCODING] [-t {text,html}]
514514
[-w WIDTH] [-l LINES] [-s SPACING] [-m MONTHS] [-c CSS]
515-
[year] [month]
515+
[-f FIRST_WEEKDAY] [year] [month]
516516
517517
518518
For example, to print a calendar for the year 2000:
@@ -586,12 +586,13 @@ The following options are accepted:
586586
or as an HTML document.
587587

588588

589-
.. option:: --first-weekday WEEKDAY, -f WEEKDAY
589+
.. option:: --first-weekday FIRST_WEEKDAY, -f FIRST_WEEKDAY
590590

591591
The weekday to start each week.
592592
Must be a number between 0 (Monday) and 6 (Sunday).
593593
Defaults to 0.
594594

595+
.. versionadded:: 3.13
595596

596597
.. option:: year
597598

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.