mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Update lxml stubs to add Element.append and Element.text (#629)
This commit is contained in:
committed by
Guido van Rossum
parent
c8f324298d
commit
bfbe4f8540
2
third_party/3/lxml/etree.pyi
vendored
2
third_party/3/lxml/etree.pyi
vendored
@@ -22,6 +22,8 @@ class _Element:
|
||||
pass
|
||||
|
||||
attrib = ... # type: MutableMapping[str, str]
|
||||
text = ... # type: AnyStr
|
||||
def append(self, element: '_Element') -> '_Element': ...
|
||||
|
||||
class ElementBase(_Element):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user