[Python-checkins] cpython: Remove a commented-out line

brett.cannon python-checkins at python.org
Fri Nov 22 18:07:51 CET 2013


http://hg.python.org/cpython/rev/c8a84eed9155
changeset:   87353:c8a84eed9155
user:        Brett Cannon <brett at python.org>
date:        Fri Nov 22 12:07:43 2013 -0500
summary:
  Remove a commented-out line

files:
  Lib/importlib/_bootstrap.py |    2 -
  Python/importlib.h          |  250 ++++++++++++------------
  2 files changed, 125 insertions(+), 127 deletions(-)


diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -826,8 +826,6 @@
 
 def spec_from_loader(name, loader, *, origin=None, is_package=None):
     """Return a module spec based on various loader methods."""
-
-#    if hasattr(loader, 'get_data'):
     if hasattr(loader, 'get_filename'):
         if is_package is None:
             return spec_from_file_location(name, loader=loader)
diff --git a/Python/importlib.h b/Python/importlib.h
--- a/Python/importlib.h
+++ b/Python/importlib.h
[stripped]

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list