fix incorrect tuple[T] (#6996)

Found from PyCQA/flake8-pyi#135.
This commit is contained in:
Jelle Zijlstra
2022-01-22 09:37:14 -08:00
committed by GitHub
parent 049a260acb
commit de5ec6a0d1
13 changed files with 24 additions and 28 deletions

View File

@@ -28,7 +28,7 @@ class IMAP4:
tagpre: str = ...
tagre: Pattern[Text] = ...
welcome: bytes = ...
capabilities: tuple[str] = ...
capabilities: tuple[str, ...] = ...
PROTOCOL_VERSION: str = ...
def __init__(self, host: str = ..., port: int = ...) -> None: ...
def open(self, host: str = ..., port: int = ...) -> None: ...
@@ -127,5 +127,5 @@ class _Authenticator:
def Internaldate2tuple(resp: str) -> time.struct_time: ...
def Int2AP(num: int) -> str: ...
def ParseFlags(resp: str) -> tuple[str]: ...
def ParseFlags(resp: str) -> tuple[str, ...]: ...
def Time2Internaldate(date_time: float | time.struct_time | str) -> str: ...