-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Per the lxml source code, fragments_fromstring should return a List:
However, the type stubs here declare it as returning an _Element:
lxml-stubs/lxml-stubs/html/__init__.pyi
Lines 75 to 81 in 0a9b609
| def fragments_fromstring( | |
| html: "_AnyStr", | |
| no_leading_text: bool = ..., | |
| base_url: str = ..., | |
| parser: "_BaseParser" = ..., | |
| **kw | |
| ) -> "_Element": ... |
iutlu
Metadata
Metadata
Assignees
Labels
No labels