]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-153853: Fix parameter name of calendar.setfirstweekday() in docs (#153851)
authorIbrahim Shaqqou <101660458+IbrahimShaqqou@users.noreply.github.com>
Fri, 17 Jul 2026 18:51:37 +0000 (14:51 -0400)
committerGitHub <noreply@github.com>
Fri, 17 Jul 2026 18:51:37 +0000 (11:51 -0700)
Doc/library/calendar.rst

index 31faa8c4fb43dc65218d322330da375850900940..60cd214b4501010a575db1183d8a8bb873da9202 100644 (file)
@@ -365,7 +365,7 @@ interpreted as prescribed by the ISO 8601 standard.  Year 0 is 1 BC, year -1 is
 
 For simple text calendars this module provides the following functions.
 
-.. function:: setfirstweekday(weekday)
+.. function:: setfirstweekday(firstweekday)
 
    Sets the weekday (``0`` is Monday, ``6`` is Sunday) to start each week. The
    values :const:`MONDAY`, :const:`TUESDAY`, :const:`WEDNESDAY`, :const:`THURSDAY`,