stdlib.xml: re-export ContentHandler & ErrorHandler (#8140)

fixes python/typeshed#8107
This commit is contained in:
Rohit Patil
2022-06-23 01:52:33 +05:30
committed by GitHub
parent 610d2908bd
commit d96581ec0f

View File

@@ -2,7 +2,7 @@ import sys
from _typeshed import SupportsRead, _T_co
from collections.abc import Iterable
from typing import Any, NoReturn, Protocol
from xml.sax.handler import ContentHandler, ErrorHandler
from xml.sax.handler import ContentHandler as ContentHandler, ErrorHandler as ErrorHandler
from xml.sax.xmlreader import Locator, XMLReader
class _SupportsReadClose(SupportsRead[_T_co], Protocol[_T_co]):