]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-153934: Correct documented paramemeter in `calendar.weekheader` from `n` to `width...
authorMarta <marta.podziewska@gmail.com>
Sat, 18 Jul 2026 12:46:23 +0000 (14:46 +0200)
committerGitHub <noreply@github.com>
Sat, 18 Jul 2026 12:46:23 +0000 (08:46 -0400)
Doc/library/calendar.rst

index b486425204946dd9a5f2756bffb325bd54d31e4f..fb0ffc73b48c40c6e93acf97f4748daa02b8b9e4 100644 (file)
@@ -400,9 +400,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.