summaryrefslogtreecommitdiffstats
path: root/Lib/datetime.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:53:55 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:53:55 (GMT)
commit9a3777e525b389ec5881c3f80a482fb821ab3ea5 (patch)
treee83520348eea751f2b02e8effa76f3cce2c644cd /Lib/datetime.py
parent07351a044960f259c8730de3f81356fbcdbe2bbf (diff)
parent30b9d5d3af043fc2687ad11a188a34fe355e20ef (diff)
downloadcpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.zip
cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.gz
cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.bz2
#18705: merge with 3.3.
Diffstat (limited to 'Lib/datetime.py')
-rw-r--r--Lib/datetime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/datetime.py b/Lib/datetime.py
index bc1486c..0423237 100644
--- a/Lib/datetime.py
+++ b/Lib/datetime.py
@@ -49,7 +49,7 @@ def _days_in_month(year, month):
return _DAYS_IN_MONTH[month]
def _days_before_month(year, month):
- "year, month -> number of days in year preceeding first day of month."
+ "year, month -> number of days in year preceding first day of month."
assert 1 <= month <= 12, 'month must be in 1..12'
return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year))