summaryrefslogtreecommitdiff
path: root/Lib/importlib/test/abc.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-03-09 03:35:50 +0000
committerBrett Cannon <bcannon@gmail.com>2009-03-09 03:35:50 +0000
commit2a922ed6adf28fabd10cb852133be5aeeb906aa5 (patch)
tree233b1352e48970174dade4ca795d853b8cc6e501 /Lib/importlib/test/abc.py
parentaa1c8d88992d482f90268f2352fccb6e74d87279 (diff)
downloadcpython-git-2a922ed6adf28fabd10cb852133be5aeeb906aa5.tar.gz
Introduce importlib.abc. The module contains various ABCs related to imports
(mostly stuff specified by PEP 302). There are two ABCs, PyLoader and PyPycLoader, which help with implementing source and source/bytecode loaders by implementing load_module in terms of other methods. This removes a lot of gritty details loaders typically have to worry about.
Diffstat (limited to 'Lib/importlib/test/abc.py')
-rw-r--r--Lib/importlib/test/abc.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/importlib/test/abc.py b/Lib/importlib/test/abc.py
index 4acbfc9059..2c17ac329b 100644
--- a/Lib/importlib/test/abc.py
+++ b/Lib/importlib/test/abc.py
@@ -65,10 +65,11 @@ class LoaderTests(unittest.TestCase, metaclass=abc.ABCMeta):
Attributes to verify:
- * __file__
- * __loader__
* __name__
+ * __file__
+ * __package__
* __path__
+ * __loader__
"""
pass