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

@@ -11,7 +11,7 @@ _MIN_COMMON_LEN: int
_MIN_DIFF_LEN: int
def _shorten(s: str, prefixlen: int, suffixlen: int) -> str: ...
def _common_shorten_repr(*args: str) -> tuple[str]: ...
def _common_shorten_repr(*args: str) -> tuple[str, ...]: ...
def safe_repr(obj: object, short: bool = ...) -> str: ...
def strclass(cls: type) -> str: ...
def sorted_list_difference(expected: Sequence[_T], actual: Sequence[_T]) -> tuple[list[_T], list[_T]]: ...