]> granicus.if.org Git - python/commitdiff
Issue8810: Clearing up docstring for tzinfo.utcoffset.
authorSean Reifscheider <jafo@tummy.com>
Fri, 4 Jun 2010 01:51:38 +0000 (01:51 +0000)
committerSean Reifscheider <jafo@tummy.com>
Fri, 4 Jun 2010 01:51:38 +0000 (01:51 +0000)
Modules/datetimemodule.c

index 8d7c5d1e0f29afc0fed19afa8de32a1315baa693..71aba6d797ab35ece83a53b8e67b93b7d471034c 100644 (file)
@@ -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.")},