From d96581ec0fbfe2a17c07bd5073abb9b9f552bf5d Mon Sep 17 00:00:00 2001 From: Rohit Patil Date: Thu, 23 Jun 2022 01:52:33 +0530 Subject: [PATCH] `stdlib.xml`: re-export `ContentHandler` & `ErrorHandler` (#8140) fixes python/typeshed#8107 --- stdlib/xml/sax/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/xml/sax/__init__.pyi b/stdlib/xml/sax/__init__.pyi index 22a2764a6..af4ee0524 100644 --- a/stdlib/xml/sax/__init__.pyi +++ b/stdlib/xml/sax/__init__.pyi @@ -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]):