diff --git a/lxml-stubs/etree.pyi b/lxml-stubs/etree.pyi index 78535e4..c140cb5 100644 --- a/lxml-stubs/etree.pyi +++ b/lxml-stubs/etree.pyi @@ -241,6 +241,12 @@ class _ElementTree: def iter( self, tag: Optional[_TagSelector] = ..., *tags: _TagSelector ) -> Iterable[_Element]: ... + def parse( + self, + source: _FileSource, + parser: Optional[XMLParser] = ..., + base_url: Optional[_AnyStr] = ..., + ) -> _Element: ... def write( self, file: _FileSource,