Please put all patches on bugs.python.org, else we will lose track of the change. On Wed, Nov 6, 2013 at 2:17 PM, Sreenivas Reddy T < thatiparthysreenivas at gmail.com> wrote: > diff -r bec6df56c053 Lib/datetime.py > --- a/Lib/datetime.py Tue Nov 05 22:01:46 2013 +0200 > +++ b/Lib/datetime.py Thu Nov 07 00:46:34 2013 +0530 > @@ -43,7 +43,7 @@ > > def _days_in_month(year, month): > "year, month -> number of days in that month in that year." > - assert 1 <= month <= 12, month > + assert 1 <= month <= 12, 'month must be in 1..12' > if month == 2 and _is_leap(year): > return 29 > return _DAYS_IN_MONTH[month] > > Best Regards, > Srinivas Reddy Thatiparthy > > > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/brett%40python.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131106/b7b8c2bf/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4