summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2008-02-07 19:48:34 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2008-02-07 19:48:34 (GMT)
commita53800e02c934640fefe9b96aad8a93a42613296 (patch)
treeafcb514a5e39c64c450d0317df0228c672fa6bfd /Doc
parent97bf449f756effcbfd0c87d5840cdeab5139fb39 (diff)
downloadcpython-a53800e02c934640fefe9b96aad8a93a42613296.zip
cpython-a53800e02c934640fefe9b96aad8a93a42613296.tar.gz
cpython-a53800e02c934640fefe9b96aad8a93a42613296.tar.bz2
Fix documentation for Calendar.iterweekdays(): firstweekday is a property.
Fixes second part of #2018.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/calendar.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst
index 364ce2a..511edbc 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)