mirror of
https://github.com/python/cpython.git
synced 2025-08-19 08:11:46 +00:00
Backport r60653:
Fix typo in docstring for Calendar.itermonthdays().
This commit is contained in:
parent
9e5e027aec
commit
ec4301e60f
1 changed files with 2 additions and 2 deletions
|
@ -179,8 +179,8 @@ class Calendar(object):
|
||||||
|
|
||||||
def itermonthdays(self, year, month):
|
def itermonthdays(self, year, month):
|
||||||
"""
|
"""
|
||||||
Like itermonthdates(), but will yield day numbers tuples. For days
|
Like itermonthdates(), but will yield day numbers. For days outside
|
||||||
outside the specified month the day number is 0.
|
the specified month the day number is 0.
|
||||||
"""
|
"""
|
||||||
for date in self.itermonthdates(year, month):
|
for date in self.itermonthdates(year, month):
|
||||||
if date.month != month:
|
if date.month != month:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue