diff options
| author | Brett Cannon <bcannon@gmail.com> | 2009-07-20 03:22:43 (GMT) | 
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2009-07-20 03:22:43 (GMT) | 
| commit | 2e3155e2fe387cba93a6bd6a5e4a6d06a49c6a98 (patch) | |
| tree | f54bb588765bd5e8599dd8d115714cd12ac5030c /Lib/importlib/abc.py | |
| parent | 10e35b30fb6e5858b73039e96d6ac3450107dad3 (diff) | |
| download | cpython-2e3155e2fe387cba93a6bd6a5e4a6d06a49c6a98.zip cpython-2e3155e2fe387cba93a6bd6a5e4a6d06a49c6a98.tar.gz cpython-2e3155e2fe387cba93a6bd6a5e4a6d06a49c6a98.tar.bz2  | |
Merged revisions 74107 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
  r74107 | brett.cannon | 2009-07-19 20:19:18 -0700 (Sun, 19 Jul 2009) | 8 lines
  Importlib's documentation said that importlib.abc.PyLoader inherited from
  importlib.abc.ResourceLoader, when in fact it did not. Fixed the ABC to inherit
  as documented.
  This does in introduce an backwards-incompatiblity as the code in PyLoader
  already required the single method ResourceLoader defined as an abstract
  method.
........
Diffstat (limited to 'Lib/importlib/abc.py')
| -rw-r--r-- | Lib/importlib/abc.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/abc.py b/Lib/importlib/abc.py index b2bdb02..7b89d0b 100644 --- a/Lib/importlib/abc.py +++ b/Lib/importlib/abc.py @@ -76,7 +76,7 @@ InspectLoader.register(machinery.BuiltinImporter)  InspectLoader.register(machinery.FrozenImporter) -class PyLoader(_bootstrap.PyLoader, InspectLoader): +class PyLoader(_bootstrap.PyLoader, ResourceLoader, InspectLoader):      """Abstract base class to assist in loading source code by requiring only      back-end storage methods to be implemented.  | 
