]> granicus.if.org Git - python/commitdiff
Backport LaTeX version of r60649:
authorWalter Dörwald <walter@livinglogic.de>
Thu, 7 Feb 2008 19:35:17 +0000 (19:35 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Thu, 7 Feb 2008 19:35:17 +0000 (19:35 +0000)
Clarify that the output of TextCalendar.formatmonth() and
TextCalendar.formatyear() for custom instances won't be influenced by calls
to the module global setfirstweekday() function. Fixes #2018.

Doc/lib/libcalendar.tex

index 4b0981ad08e1c3ed9c8f8001608a1812ece8e2c6..57ac4e5e391fa7a13337e038defd3b4e6972a6aa 100644 (file)
@@ -113,8 +113,8 @@ This class can be used to generate plain text calendars.
 Return a month's calendar in a multi-line string. If \var{w} is
 provided, it specifies the width of the date columns, which are
 centered. If \var{l} is given, it specifies the number of lines that
-each week will use. Depends on the first weekday as set by
-\function{setfirstweekday()}.
+each week will use. Depends on the first weekday as specified in the constructor
+or set by the \method{setfirstweekday()} method.
 \end{methoddesc}
 
 \begin{methoddesc}{prmonth}{theyear, themonth\optional{, w\optional{, l}}}
@@ -126,9 +126,9 @@ Print a month's calendar as returned by \method{formatmonth()}.
 Return a \var{m}-column calendar for an entire year as a multi-line string.
 Optional parameters \var{w}, \var{l}, and \var{c} are for date column
 width, lines per week, and number of spaces between month columns,
-respectively. Depends on the first weekday as set by
-\method{setfirstweekday()}.  The earliest year for which a calendar can
-be generated is platform-dependent.
+respectively. Depends on the first weekday as specified in the constructor or
+set by the \method{setfirstweekday()} method.  The earliest year for which a
+calendar can be generated is platform-dependent.
 \end{methoddesc}
 
 \begin{methoddesc}{pryear}{theyear\optional{, w\optional{, l\optional{,