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

This commit is contained in:
Alex Waygood
2022-07-12 14:32:48 +01:00
committed by GitHub
parent 27db37240a
commit 6348a58b8b
78 changed files with 142 additions and 90 deletions

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"]