Import Match and Pattern from re, not typing (#8277)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-07-12 15:32:48 +02:00
1 parent 27db37240a
commit 6348a58b8b
78 files changed
+142 -90

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@ from collections.abc import Callable, Iterable, Mapping, MutableMapping, Sequenc
from email.message import Message
from http.client import HTTPMessage, HTTPResponse, _HTTPConnectionProtocol
from http.cookiejar import CookieJar
from typing import IO, Any, ClassVar, NoReturn, Pattern, TypeVar, overload
from re import Pattern
from typing import IO, Any, ClassVar, NoReturn, TypeVar, overload
from typing_extensions import TypeAlias
from urllib.error import HTTPError as HTTPError
from urllib.response import addclosehook, addinfourl