From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 18 Jul 2026 12:53:21 +0000 (+0200) Subject: [3.13] gh-153934: Correct documented parameter in `calendar.weekheader` from `n`... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=75106e76c983fcdb178bf65a64239716e086b58a;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-153934: Correct documented parameter in `calendar.weekheader` from `n` to `width` (GH-153942) (GH-153945) (cherry picked from commit 7486c7b3df7ff26ac23390947102f2604f55243a) Co-authored-by: Marta --- diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst index 005fcec915f4..3349703f5da2 100644 --- a/Doc/library/calendar.rst +++ b/Doc/library/calendar.rst @@ -392,9 +392,9 @@ For simple text calendars this module provides the following functions. *month* (``1``--``12``), *day* (``1``--``31``). -.. function:: weekheader(n) +.. function:: weekheader(width) - Return a header containing abbreviated weekday names. *n* specifies the width in + Return a header containing abbreviated weekday names. *width* specifies the width in characters for one weekday.