mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +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
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue