mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
stdlib.xml: re-export ContentHandler & ErrorHandler (#8140)
fixes python/typeshed#8107
This commit is contained in:
@@ -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]):
|
||||
|
||||
Reference in New Issue
Block a user