JelleZijlstra / lxml-stubs

Obsolete, please use https://github.com/lxml/lxml-stubs
Other
12 stars 3 forks source link

Add XPath object type, `XPath.__call__` and 'smart' strings #8

Closed Jackenmen closed 5 years ago

Jackenmen commented 5 years ago

I added XPath.__call__ method and therefore I also added XPath object type which is returned by XPath functions. And because by default lxml returns so called 'smart' strings, I added typing for them as well.