summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-05-26 18:28:21 (GMT)
committerBrett Cannon <brett@python.org>2012-05-26 18:28:21 (GMT)
commitd785cb3955e61098056a237b6f322bdda1461aa0 (patch)
treeb98ea1f26657f3c55f9e58b012e9f05617276bd0 /Lib/importlib
parent53c920052b7cb24c8a411d3d11649c5b5e05a458 (diff)
downloadcpython-d785cb3955e61098056a237b6f322bdda1461aa0.zip
cpython-d785cb3955e61098056a237b6f322bdda1461aa0.tar.gz
cpython-d785cb3955e61098056a237b6f322bdda1461aa0.tar.bz2
Remove some redundant decorators.
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/_bootstrap.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
index 3dcd05a..deaded9 100644
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -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."""