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@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to