[Python-checkins] cpython: Remove some redundant decorators.

brett.cannon python-checkins at python.org
Sat May 26 20:28:44 CEST 2012


http://hg.python.org/cpython/rev/fd7afc53ac46
changeset: 77164:fd7afc53ac46
user: Brett Cannon <brett at python.org>
date: Sat May 26 14:28:21 2012 -0400
summary:
 Remove some redundant decorators.
files:
 Lib/importlib/_bootstrap.py | 2 --
 Python/importlib.h | Bin 
 2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -949,8 +949,6 @@
 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."""
diff --git a/Python/importlib.h b/Python/importlib.h
index bdb3644db479da7d7f6b949be135c6b1c3d1fc33..cd8fbebb9ff7c4a671320695174aa8953db75845
GIT binary patch
[stripped]
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /