You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stubs for xml.etree.ElementTree often use just Element, which due to a TypeVar default is equivalent to Element[str]. But many of those functions probably actually work with any Element, so we should be using Element[Any] instead.
The stubs for
xml.etree.ElementTree
often use justElement
, which due to a TypeVar default is equivalent toElement[str]
. But many of those functions probably actually work with any Element, so we should be usingElement[Any]
instead.(From astral-sh/ty#336 (comment) .)
The text was updated successfully, but these errors were encountered: