From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 17 Jul 2026 18:59:46 +0000 (+0200) Subject: [3.15] gh-153853: Fix parameter name of calendar.setfirstweekday() in docs (GH-153851... X-Git-Tag: v3.15.0b4~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0be137da9dbc8d4d710e47051c6c1a9bd5e37ef7;p=thirdparty%2FPython%2Fcpython.git [3.15] gh-153853: Fix parameter name of calendar.setfirstweekday() in docs (GH-153851) (#153859) 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> --- diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst index 31faa8c4fb43..60cd214b4501 100644 --- a/Doc/library/calendar.rst +++ b/Doc/library/calendar.rst @@ -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`,