From: Walter Dörwald Date: Thu, 7 Feb 2008 19:48:34 +0000 (+0000) Subject: Fix documentation for Calendar.iterweekdays(): firstweekday is a property. X-Git-Tag: v2.6a1~238 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a53800e02c934640fefe9b96aad8a93a42613296;p=thirdparty%2FPython%2Fcpython.git Fix documentation for Calendar.iterweekdays(): firstweekday is a property. Fixes second part of #2018. --- diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst index 364ce2a52230..511edbc14b5e 100644 --- a/Doc/library/calendar.rst +++ b/Doc/library/calendar.rst @@ -39,9 +39,9 @@ it's the base calendar for all computations. .. method:: Calendar.iterweekdays(weekday) - Return an iterator for the week day numbers that will be used for one week. The - first number from the iterator will be the same as the number returned by - :meth:`firstweekday`. + Return an iterator for the week day numbers that will be used for one week. + The first value from the iterator will be the same as the value of the + :attr:`firstweekday` property. .. method:: Calendar.itermonthdates(year, month)