Skip to content

Commit 8620d30

Browse files
apurvakhatriapurvakhatrihugovk
authored
gh-108202: calendar: Document prweek (#108466)
Co-authored-by: apurvakhatri <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 3db7bf2 commit 8620d30

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/calendar.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is
158158

159159
:class:`TextCalendar` instances have the following methods:
160160

161+
.. method:: prweek(theweek, width)
162+
163+
Print a week's calendar as returned by :meth:`formatweek` and without a
164+
final newline.
165+
161166

162167
.. method:: formatday(theday, weekday, width)
163168

0 commit comments

Comments
 (0)