diff options
author | Alexander Belopolsky <abalkin@users.noreply.github.com> | 2017-10-24 17:17:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 17:17:10 (GMT) |
commit | fdd9b217c60b454ac6a82f02c8b0b551caeac88b (patch) | |
tree | d520a2e9344820bf8f7df0f1e0c4ec1882e4eff4 /Include/pyport.h | |
parent | eab3ff72ebe79416cc032b8508ae13332955a157 (diff) | |
download | cpython-fdd9b217c60b454ac6a82f02c8b0b551caeac88b.zip cpython-fdd9b217c60b454ac6a82f02c8b0b551caeac88b.tar.gz cpython-fdd9b217c60b454ac6a82f02c8b0b551caeac88b.tar.bz2 |
Closes bpo-28292: Implemented Calendar.itermonthdays3() and itermonthdays4(). (#4079)
Calendar.itermonthdates() will now consistently raise an exception when a date falls outside of the 0001-01-01 through 9999-12-31 range. To support applications that cannot tolerate such exceptions, the new methods itermonthdays3() and itermonthdays4() are added. The new methods return tuples and are not restricted by the range supported by datetime.date.
Thanks @serhiy-storchaka for suggesting the itermonthdays4() method and for the review.
Diffstat (limited to 'Include/pyport.h')
0 files changed, 0 insertions, 0 deletions