[Python-checkins] r87465 - in python/branches/release31-maint: Doc/includes/tzinfo-examples.py
alexander.belopolsky
python-checkins at python.org
Fri Dec 24 01:29:04 CET 2010
Author: alexander.belopolsky
Date: Fri Dec 24 01:29:04 2010
New Revision: 87465
Log:
Merged revisions 87463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87463 | alexander.belopolsky | 2010-12-23 19:24:11 -0500 (Thu, 23 Dec 2010) | 1 line
Issue #9063: Corrected the tzinfo example.
........
Modified:
python/branches/release31-maint/ (props changed)
python/branches/release31-maint/Doc/includes/tzinfo-examples.py
Modified: python/branches/release31-maint/Doc/includes/tzinfo-examples.py
==============================================================================
--- python/branches/release31-maint/Doc/includes/tzinfo-examples.py (original)
+++ python/branches/release31-maint/Doc/includes/tzinfo-examples.py Fri Dec 24 01:29:04 2010
@@ -71,7 +71,7 @@
def _isdst(self, dt):
tt = (dt.year, dt.month, dt.day,
dt.hour, dt.minute, dt.second,
- dt.weekday(), 0, -1)
+ dt.weekday(), 0, 0)
stamp = _time.mktime(tt)
tt = _time.localtime(stamp)
return tt.tm_isdst > 0
More information about the Python-checkins
mailing list