]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-153934: Correct documented parameter in `calendar.weekheader` from `n`...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 18 Jul 2026 12:53:21 +0000 (14:53 +0200)
committerGitHub <noreply@github.com>
Sat, 18 Jul 2026 12:53:21 +0000 (12:53 +0000)
(cherry picked from commit 7486c7b3df7ff26ac23390947102f2604f55243a)

Co-authored-by: Marta <marta.podziewska@gmail.com>
Doc/library/calendar.rst

index 005fcec915f49bef5d2beea7218d9e086e1a5692..3349703f5da25354cdf6318b01f2ee816a04fc35 100644 (file)
@@ -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.