Fix xml.etree.ElementTree.Element.getiterator()

Issue #28314: Fix function declaration (C flags) for the getiterator() method
of xml.etree.ElementTree.Element.
This commit is contained in:
Victor Stinner 2016-09-29 22:12:35 +02:00
parent cf6d2d90c5
commit 84d8baadbe
2 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,9 @@ Core and Builtins
Library
-------
- Issue #28314: Fix function declaration (C flags) for the getiterator() method
of xml.etree.ElementTree.Element.
- Issue #28148: Stop using localtime() and gmtime() in the time
module.

View File

@ -3702,7 +3702,7 @@ static PyMethodDef element_methods[] = {
_ELEMENTTREE_ELEMENT_ITERTEXT_METHODDEF
_ELEMENTTREE_ELEMENT_ITERFIND_METHODDEF
{"getiterator", (PyCFunction)_elementtree_Element_iter, METH_VARARGS|METH_KEYWORDS, _elementtree_Element_iter__doc__},
{"getiterator", (PyCFunction)_elementtree_Element_iter, METH_FASTCALL, _elementtree_Element_iter__doc__},
_ELEMENTTREE_ELEMENT_GETCHILDREN_METHODDEF
_ELEMENTTREE_ELEMENT_ITEMS_METHODDEF