mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 12:21:27 +08:00
Remove duplicate method definitions in importlib and jinja2 (#2427)
This commit is contained in:
committed by
Jelle Zijlstra
parent
50b5650a11
commit
8ed0159445
@@ -31,8 +31,6 @@ class BuiltinImporter(importlib.abc.MetaPathFinder,
|
||||
@classmethod
|
||||
def get_source(cls, fullname: str) -> None: ...
|
||||
# Loader
|
||||
@classmethod
|
||||
def load_module(cls, fullname: str) -> types.ModuleType: ...
|
||||
@staticmethod
|
||||
def module_repr(module: types.ModuleType) -> str: ... # type: ignore
|
||||
@classmethod
|
||||
@@ -63,8 +61,6 @@ class FrozenImporter(importlib.abc.MetaPathFinder, importlib.abc.InspectLoader):
|
||||
@classmethod
|
||||
def get_source(cls, fullname: str) -> None: ...
|
||||
# Loader
|
||||
@classmethod
|
||||
def load_module(cls, fullname: str) -> types.ModuleType: ...
|
||||
@staticmethod
|
||||
def module_repr(module: types.ModuleType) -> str: ... # type: ignore
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user