]> granicus.if.org Git - python/commitdiff
Fix documentation for Calendar.iterweekdays(): firstweekday is a property.
authorWalter Dörwald <walter@livinglogic.de>
Thu, 7 Feb 2008 19:48:34 +0000 (19:48 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Thu, 7 Feb 2008 19:48:34 +0000 (19:48 +0000)
Fixes second part of #2018.

Doc/library/calendar.rst

index 364ce2a52230457e32b8245244ca23c1a3797d83..511edbc14b5e4ac8de7188db206156f75675aea2 100644 (file)
@@ -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)