summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2008-02-07 19:35:17 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2008-02-07 19:35:17 (GMT)
commit902af8da7cc687adbda7247e61249caf7ba6be7e (patch)
treec3dfeb15cee8c0423c9e97f54a815e02e4f6849c /Doc
parent527bf3a826cc19a6ff99e8104c1f4e20bdabb1cd (diff)
downloadcpython-902af8da7cc687adbda7247e61249caf7ba6be7e.zip
cpython-902af8da7cc687adbda7247e61249caf7ba6be7e.tar.gz
cpython-902af8da7cc687adbda7247e61249caf7ba6be7e.tar.bz2
Backport LaTeX version of r60649:
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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libcalendar.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libcalendar.tex b/Doc/lib/libcalendar.tex
index 4b0981a..57ac4e5 100644
--- a/Doc/lib/libcalendar.tex
+++ b/Doc/lib/libcalendar.tex
@@ -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{,