mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +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
|
||||
|
||||
2
third_party/2and3/jinja2/exceptions.pyi
vendored
2
third_party/2and3/jinja2/exceptions.pyi
vendored
@@ -5,8 +5,6 @@ class TemplateError(Exception):
|
||||
@property
|
||||
def message(self): ...
|
||||
def __unicode__(self): ...
|
||||
@property
|
||||
def message(self): ...
|
||||
|
||||
class TemplateNotFound(IOError, LookupError, TemplateError):
|
||||
message = ... # type: Any
|
||||
|
||||
Reference in New Issue
Block a user