]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-153853: Fix parameter name of calendar.setfirstweekday() in docs (GH-153851...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 17 Jul 2026 18:59:14 +0000 (20:59 +0200)
committerGitHub <noreply@github.com>
Fri, 17 Jul 2026 18:59:14 +0000 (18:59 +0000)
gh-153853: Fix parameter name of calendar.setfirstweekday() in docs (GH-153851)
(cherry picked from commit 1736526023a3e616d1530815880bb3b28e3433c3)

Co-authored-by: Ibrahim Shaqqou <101660458+IbrahimShaqqou@users.noreply.github.com>
Doc/library/calendar.rst

index e308e5bfb009061499e35c25f152f7c3fe944075..9d63c79e25d79eea58d46f24f9822fa5d77e3ca8 100644 (file)
@@ -362,7 +362,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`,