mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Akuli and srittau: Remove Python 2 branches from Python 3 stubs (#5461)
* run script and do some manual changes (Akuli) * do the whole thing manually (srittau) * merge changes (Akuli) Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
@@ -62,8 +62,7 @@ class ModuleFinder:
|
||||
def find_all_submodules(self, m: Module) -> Iterable[str]: ... # undocumented
|
||||
def import_module(self, partname: str, fqname: str, parent: Module) -> Optional[Module]: ... # undocumented
|
||||
def load_module(self, fqname: str, fp: IO[str], pathname: str, file_info: Tuple[str, str, str]) -> Module: ... # undocumented
|
||||
if sys.version_info >= (3, 6):
|
||||
def scan_opcodes(self, co: CodeType) -> Iterator[Tuple[str, Tuple[Any, ...]]]: ... # undocumented
|
||||
def scan_opcodes(self, co: CodeType) -> Iterator[Tuple[str, Tuple[Any, ...]]]: ... # undocumented
|
||||
def scan_code(self, co: CodeType, m: Module) -> None: ... # undocumented
|
||||
def load_package(self, fqname: str, pathname: str) -> Module: ... # undocumented
|
||||
def add_module(self, fqname: str) -> Module: ... # undocumented
|
||||
|
||||
Reference in New Issue
Block a user