From 8620d3009ab2add053a4dfee65fdddc0ca0dfcc0 Mon Sep 17 00:00:00 2001 From: Apurva Khatri Date: Mon, 8 Dec 2025 04:54:59 -0500 Subject: [PATCH] gh-108202: ``calendar``: Document ``prweek`` (#108466) Co-authored-by: apurvakhatri Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- Doc/library/calendar.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst index f76b1013dfbc..822e627af8db 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) -- 2.47.3