From 5bc934fd16d4f749b2dd08c9f51c0a796e784b88 Mon Sep 17 00:00:00 2001 From: Marta Date: Sat, 18 Jul 2026 14:46:23 +0200 Subject: [PATCH] gh-153934: Correct documented paramemeter in `calendar.weekheader` from `n` to `width` (GH-153942) (cherry picked from commit 7486c7b3df7ff26ac23390947102f2604f55243a) Co-authored-by: Marta --- Doc/library/calendar.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst index b486425204946dd..fb0ffc73b48c40c 100644 --- a/Doc/library/calendar.rst +++ b/Doc/library/calendar.rst @@ -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.