[Python-Dev] A small patch.
Brett Cannon
brett at python.org
Wed Nov 6 20:47:50 CET 2013
More information about the Python-Dev mailing list
Wed Nov 6 20:47:50 CET 2013
- Previous message: [Python-Dev] A small patch.
- Next message: [Python-Dev] A small patch.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-Dev] A small patch.
- Next message: [Python-Dev] A small patch.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list