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 IO, Any, Tuple
from typing import IO, Any
if sys.version_info >= (3, 10):
def pformat(
@@ -130,4 +130,4 @@ class PrettyPrinter:
def pprint(self, object: object) -> None: ...
def isreadable(self, object: object) -> bool: ...
def isrecursive(self, object: object) -> bool: ...
def format(self, object: object, context: dict[int, Any], maxlevels: int, level: int) -> Tuple[str, bool, bool]: ...
def format(self, object: object, context: dict[int, Any], maxlevels: int, level: int) -> tuple[str, bool, bool]: ...