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
@@ -4,10 +4,11 @@ import time
from _typeshed import Self
from builtins import list as _list # conflicts with a method named "list"
from collections.abc import Callable
from re import Pattern
from socket import socket as _socket
from ssl import SSLContext, SSLSocket
from types import TracebackType
from typing import IO, Any, Pattern
from typing import IO, Any
from typing_extensions import Literal, TypeAlias
__all__ = ["IMAP4", "IMAP4_stream", "Internaldate2tuple", "Int2AP", "ParseFlags", "Time2Internaldate", "IMAP4_SSL"]