From deda8cb8352e7d240e51d6f261989b4fda767b60 Mon Sep 17 00:00:00 2001 From: Sean Reifscheider Date: Fri, 4 Jun 2010 01:51:38 +0000 Subject: [PATCH] Issue8810: Clearing up docstring for tzinfo.utcoffset. --- Modules/datetimemodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c index 8d7c5d1e0f2..71aba6d797a 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.")},