From 5e2b27b5e5c55608d120a643232dd77f2634de87 Mon Sep 17 00:00:00 2001 From: Sean Reifscheider Date: Fri, 4 Jun 2010 01:51:26 +0000 Subject: [PATCH] Issue8810: Clearing up docstring for tzinfo.utcoffset. --- Modules/datetimemodule.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c index f907093015..c12a7a6792 100644 --- a/Modules/datetimemodule.c +++ b/Modules/datetimemodule.c @@ -3026,7 +3026,8 @@ static PyMethodDef tzinfo_methods[] = { PyDoc_STR("datetime -> DST offset in minutes east of UTC.")}, {"fromutc", (PyCFunction)tzinfo_fromutc, METH_O, - PyDoc_STR("datetime in UTC -> datetime in local time.")}, + PyDoc_STR("datetime -> timedelta showing offset from UTC, negative " + "values indicating West of UTC")}, {"__reduce__", (PyCFunction)tzinfo_reduce, METH_NOARGS, PyDoc_STR("-> (cls, state)")}, -- 2.50.1