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

Co-authored-by: apurvakhatri <khatri.ap@northeastern.edu>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Apurva Khatri 2025-12-08 04:54:59 -05:00 committed by GitHub
parent 3db7bf2d18
commit 8620d3009a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)