https://github.com/python/cpython/commit/7486c7b3df7ff26ac23390947102f2604f55243a
commit: 7486c7b3df7ff26ac23390947102f2604f55243a
branch: main
author: Marta <[email protected]>
committer: ZeroIntensity <[email protected]>
date: 2026-07-18T08:46:23-04:00
summary:

gh-153934: Correct documented paramemeter in `calendar.weekheader` from `n` to 
`width` (GH-153942)

files:
M Doc/library/calendar.rst

diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst
index b486425204946d..fb0ffc73b48c40 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.
 
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to