From bfbe4f85409f3aaab4f15ba20d7bf6dbd9bef4f7 Mon Sep 17 00:00:00 2001 From: Roy Williams Date: Tue, 25 Oct 2016 12:04:42 -0700 Subject: [PATCH] Update lxml stubs to add Element.append and Element.text (#629) --- third_party/3/lxml/etree.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/third_party/3/lxml/etree.pyi b/third_party/3/lxml/etree.pyi index dbf64db5b..41a3726f0 100644 --- a/third_party/3/lxml/etree.pyi +++ b/third_party/3/lxml/etree.pyi @@ -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