We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6aa772 commit f71530aCopy full SHA for f71530a
lxml-stubs/etree.pyi
@@ -238,10 +238,14 @@ class _ElementTree:
238
self, path: str, namespaces: Optional[_NSMapArg] = ...
239
) -> List["_Element"]: ...
240
def getpath(self, element: _Element) -> str: ...
241
+ def getelementpath(self, element: _Element) -> str: ...
242
def getroot(self) -> _Element: ...
243
def iter(
244
self, tag: Optional[_TagSelector] = ..., *tags: _TagSelector
245
) -> Iterable[_Element]: ...
246
+ def iterfind(
247
+ self, path: str, namespaces: Optional[_NSMapArg] = ...
248
+ ) -> Iterator["_Element"]: ...
249
def parse(
250
self,
251
source: _FileSource,
0 commit comments