mirror of
https://github.com/python/cpython.git
synced 2025-08-16 06:40:56 +00:00
Revert r81681 (issue 8810).
This commit is contained in:
parent
0df5a858e7
commit
1f6e2257dc
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue