Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli
2021-10-15 00:18:19 +00:00
committed by GitHub
parent 5f386b0575
commit 994b69ef8f
242 changed files with 1212 additions and 1224 deletions

View File

@@ -1,5 +1,5 @@
import sys
from typing import Any, Tuple
from typing import Any
DEBUG_COLLECTABLE: int
DEBUG_LEAK: int
@@ -12,7 +12,7 @@ garbage: list[Any]
def collect(generation: int = ...) -> int: ...
def disable() -> None: ...
def enable() -> None: ...
def get_count() -> Tuple[int, int, int]: ...
def get_count() -> tuple[int, int, int]: ...
def get_debug() -> int: ...
if sys.version_info >= (3, 8):
@@ -29,7 +29,7 @@ if sys.version_info >= (3, 7):
def get_referents(*objs: Any) -> list[Any]: ...
def get_referrers(*objs: Any) -> list[Any]: ...
def get_stats() -> list[dict[str, Any]]: ...
def get_threshold() -> Tuple[int, int, int]: ...
def get_threshold() -> tuple[int, int, int]: ...
def is_tracked(__obj: Any) -> bool: ...
if sys.version_info >= (3, 9):