Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli authored and GitHub committed 2021-10-14 17:18:19 -07:00
1 parent 5f386b0575
commit 994b69ef8f
242 files changed
+1212 -1224

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import os
import sys
from types import CodeType, ModuleType
from typing import Any, Tuple
from typing import Any
if sys.version_info >= (3, 7):
from importlib.abc import ResourceReader
@@ -12,7 +12,7 @@ class zipimporter(object):
archive: str
prefix: str
def __init__(self, path: str | bytes | os.PathLike[Any]) -> None: ...
def find_loader(self, fullname: str, path: str | None = ...) -> Tuple[zipimporter | None, list[str]]: ... # undocumented
def find_loader(self, fullname: str, path: str | None = ...) -> tuple[zipimporter | None, list[str]]: ... # undocumented
def find_module(self, fullname: str, path: str | None = ...) -> zipimporter | None: ...
def get_code(self, fullname: str) -> CodeType: ...
def get_data(self, pathname: str) -> str: ...