From 38843e8a173a751238689a9d731f083d6c3b5312 Mon Sep 17 00:00:00 2001 From: Ibrahim Shaqqou <101660458+IbrahimShaqqou@users.noreply.github.com> Date: Fri, 17 Jul 2026 14:51:37 -0400 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst index 7e276b94f9837e..7798b716f10c3a 100644 --- a/Doc/library/calendar.rst +++ b/Doc/library/calendar.rst @@ -357,7 +357,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`,