Issue8810: Clearing up docstring for tzinfo.utcoffset.
This commit is contained in:
parent
2c12ab18bc
commit
deda8cb835
|
@ -3223,8 +3223,8 @@ static PyMethodDef tzinfo_methods[] = {
|
||||||
PyDoc_STR("datetime -> string name of time zone.")},
|
PyDoc_STR("datetime -> string name of time zone.")},
|
||||||
|
|
||||||
{"utcoffset", (PyCFunction)tzinfo_utcoffset, METH_O,
|
{"utcoffset", (PyCFunction)tzinfo_utcoffset, METH_O,
|
||||||
PyDoc_STR("datetime -> minutes east of UTC (negative for "
|
PyDoc_STR("datetime -> timedelta showing offset from UTC, negative "
|
||||||
"west of UTC).")},
|
"values indicating West of UTC")},
|
||||||
|
|
||||||
{"dst", (PyCFunction)tzinfo_dst, METH_O,
|
{"dst", (PyCFunction)tzinfo_dst, METH_O,
|
||||||
PyDoc_STR("datetime -> DST offset in minutes east of UTC.")},
|
PyDoc_STR("datetime -> DST offset in minutes east of UTC.")},
|
||||||
|
|
Loading…
Reference in New Issue