summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSean Reifscheider <jafo@tummy.com>2010-06-04 01:51:38 (GMT)
committerSean Reifscheider <jafo@tummy.com>2010-06-04 01:51:38 (GMT)
commitdeda8cb8352e7d240e51d6f261989b4fda767b60 (patch)
tree1ab1ff3e8061fcd981623ddf35397486c23cbc49 /Modules
parent2c12ab18bcfc2925572397d0bb0e580f0021cf8c (diff)
downloadcpython-deda8cb8352e7d240e51d6f261989b4fda767b60.zip
cpython-deda8cb8352e7d240e51d6f261989b4fda767b60.tar.gz
cpython-deda8cb8352e7d240e51d6f261989b4fda767b60.tar.bz2
Issue8810: Clearing up docstring for tzinfo.utcoffset.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/datetimemodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c
index 8d7c5d1..71aba6d 100644
--- a/Modules/datetimemodule.c
+++ b/Modules/datetimemodule.c
@@ -3223,8 +3223,8 @@ static PyMethodDef tzinfo_methods[] = {
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.")},