https://github.com/python/cpython/commit/8620d3009ab2add053a4dfee65fdddc0ca0dfcc0
commit: 8620d3009ab2add053a4dfee65fdddc0ca0dfcc0
branch: main
author: Apurva Khatri <[email protected]>
committer: hugovk <[email protected]>
date: 2025-12-08T09:54:59Z
summary:

gh-108202: ``calendar``: Document ``prweek`` (#108466)

Co-authored-by: apurvakhatri <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>

files:
M Doc/library/calendar.rst

diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst
index f76b1013dfbc66..822e627af8db95 100644
--- a/Doc/library/calendar.rst
+++ b/Doc/library/calendar.rst
@@ -158,6 +158,11 @@ interpreted as prescribed by the ISO 8601 standard.  Year 
0 is 1 BC, year -1 is
 
    :class:`TextCalendar` instances have the following methods:
 
+   .. method:: prweek(theweek, width)
+
+      Print a week's calendar as returned by :meth:`formatweek` and without a
+      final newline.
+
 
    .. method:: formatday(theday, weekday, width)
 

_______________________________________________
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