lxml / lxml-stubs

Type stubs for the lxml package
Other
43 stars 28 forks source link

attrib.get should have same signature as _element.get #97

Closed PokkaKiyo closed 10 months ago

PokkaKiyo commented 10 months ago

_Attrib.get should have the same signature as _Element.get.

This should handle the problem described in #95, where setting the default value to None raises an error in the type checker.

scoder commented 10 months ago

Triggering a fresh test run

scoder commented 10 months ago

Thanks