[Python-checkins] r81682 - python/branches/py3k/Modules/datetimemodule.c
sean.reifschneider
python-checkins at python.org
Fri Jun 4 03:51:38 CEST 2010
Author: sean.reifschneider
Date: Fri Jun 4 03:51:38 2010
New Revision: 81682
Log:
Issue8810: Clearing up docstring for tzinfo.utcoffset.
Modified:
python/branches/py3k/Modules/datetimemodule.c
Modified: python/branches/py3k/Modules/datetimemodule.c
==============================================================================
--- python/branches/py3k/Modules/datetimemodule.c (original)
+++ python/branches/py3k/Modules/datetimemodule.c Fri Jun 4 03:51:38 2010
@@ -3223,8 +3223,8 @@
PyDoc_STR("datetime -> string name of time zone.")},
{"utcoffset", (PyCFunction)tzinfo_utcoffset, METH_O,
- PyDoc_STR("datetime -> minutes east of UTC (negative for "
- "west of UTC).")},
+ PyDoc_STR("datetime -> timedelta showing offset from UTC, negative "
+ "values indicating West of UTC")},
{"dst", (PyCFunction)tzinfo_dst, METH_O,
PyDoc_STR("datetime -> DST offset in minutes east of UTC.")},
More information about the Python-checkins
mailing list