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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a53800e02c934640fefe9b96aad8a93a42613296;p=python 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 364ce2a522..511edbc14b 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)