mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Import Match and Pattern from re, not typing (#8277)
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user