https://github.com/python/cpython/commit/548c119e4b18536b36f803599b405ce78fb8d8e0
commit: 548c119e4b18536b36f803599b405ce78fb8d8e0
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: brettcannon <[email protected]>
date: 2026-07-17T18:59:14Z
summary:

[3.14] gh-153853: Fix parameter name of calendar.setfirstweekday() in docs 
(GH-153851) (#153860)

gh-153853: Fix parameter name of calendar.setfirstweekday() in docs (GH-153851)
(cherry picked from commit 1736526023a3e616d1530815880bb3b28e3433c3)

Co-authored-by: Ibrahim Shaqqou 
<[email protected]>

files:
M Doc/library/calendar.rst

diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst
index e308e5bfb00906..9d63c79e25d79e 100644
--- a/Doc/library/calendar.rst
+++ b/Doc/library/calendar.rst
@@ -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`,

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to