mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
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:
parent
3db7bf2d18
commit
8620d3009a
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user