mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Remove some redundant decorators.
This commit is contained in:
parent
53c920052b
commit
d785cb3955
2 changed files with 1305 additions and 1310 deletions
|
@ -949,8 +949,6 @@ class NamespaceLoader:
|
|||
def module_repr(cls, module):
|
||||
return "<module '{}' (namespace)>".format(module.__name__)
|
||||
|
||||
@set_package
|
||||
@set_loader
|
||||
@module_for_loader
|
||||
def load_module(self, module):
|
||||
"""Load a namespace module."""
|
||||
|
|
2613
Python/importlib.h
2613
Python/importlib.h
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue