lxml-stubs icon indicating copy to clipboard operation
lxml-stubs copied to clipboard

_Element.getchildren is missing

Open ChristianSauer opened this issue 3 years ago • 1 comments

ChristianSauer avatar Jun 15 '22 13:06 ChristianSauer

It's deprecated.

getchildren(self)

Returns all direct children. The elements are returned in document order.

Deprecated: Note that this method has been deprecated as of ElementTree 1.3 and lxml 2.0. New code should use list(element) or simply iterate over elements.

--- lxml.etree._Element API documentation

charmoniumQ avatar Dec 04 '24 21:12 charmoniumQ