mirror of https://github.com/python/cpython
Revert r81681 (issue 8810).
This commit is contained in:
parent
0df5a858e7
commit
1f6e2257dc
|
@ -3026,8 +3026,7 @@ static PyMethodDef tzinfo_methods[] = {
|
||||||
PyDoc_STR("datetime -> DST offset in minutes east of UTC.")},
|
PyDoc_STR("datetime -> DST offset in minutes east of UTC.")},
|
||||||
|
|
||||||
{"fromutc", (PyCFunction)tzinfo_fromutc, METH_O,
|
{"fromutc", (PyCFunction)tzinfo_fromutc, METH_O,
|
||||||
PyDoc_STR("datetime -> timedelta showing offset from UTC, negative "
|
PyDoc_STR("datetime in UTC -> datetime in local time.")},
|
||||||
"values indicating West of UTC")},
|
|
||||||
|
|
||||||
{"__reduce__", (PyCFunction)tzinfo_reduce, METH_NOARGS,
|
{"__reduce__", (PyCFunction)tzinfo_reduce, METH_NOARGS,
|
||||||
PyDoc_STR("-> (cls, state)")},
|
PyDoc_STR("-> (cls, state)")},
|
||||||
|
|
Loading…
Reference in New Issue