mirror of
https://github.com/python/cpython.git
synced 2025-08-17 23:31:09 +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):
|
||||
"""
|
||||
Like itermonthdates(), but will yield day numbers tuples. For days
|
||||
outside the specified month the day number is 0.
|
||||
Like itermonthdates(), but will yield day numbers. For days outside
|
||||
the specified month the day number is 0.
|
||||
"""
|
||||
for date in self.itermonthdates(year, month):
|
||||
if date.month != month:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue