Skip to content

Commit 54ceef6

Browse files
Update calendar.rst
1 parent 7155b1a commit 54ceef6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/calendar.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is
142142
.. method:: formatday(theday, weekday, width)
143143

144144
Return a string representing a single day formatted with the given width.
145-
If *theday* is ``0``, return a :class:`str` of spaces of
145+
If *theday* is ``0``, return a string of spaces of
146146
the specified width, representing an empty day. The *weekday* parameter
147147
is unused.
148148

@@ -184,6 +184,7 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is
184184

185185
Print a month's calendar as returned by :meth:`formatmonth`.
186186

187+
187188
.. method:: formatyear(theyear, w=2, l=1, c=6, m=3)
188189

189190
Return a *m*-column calendar for an entire year as a multi-line string.

0 commit comments

Comments
 (0)