diff options
author | Brett Cannon <bcannon@gmail.com> | 2010-02-03 22:16:11 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2010-02-03 22:16:11 (GMT) |
commit | ddb5e70e025074320ab9db26f5109e626c3291be (patch) | |
tree | f945706ba864454ff69eb5c8f7de64d69e0a4b7e /Lib | |
parent | 63187670ef91ab764047be7b0fd409e12d739598 (diff) | |
download | cpython-ddb5e70e025074320ab9db26f5109e626c3291be.zip cpython-ddb5e70e025074320ab9db26f5109e626c3291be.tar.gz cpython-ddb5e70e025074320ab9db26f5109e626c3291be.tar.bz2 |
Merged revisions 77956-77957 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77956 | brett.cannon | 2010-02-03 14:11:54 -0800 (Wed, 03 Feb 2010) | 1 line
Update a docstring to suggest using importlib.import_module instead of calling __import__ directly.
........
r77957 | brett.cannon | 2010-02-03 14:13:44 -0800 (Wed, 03 Feb 2010) | 1 line
Fix a typo in a docstring introduced in r77956.
........
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index 8115020..1308914 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -477,7 +477,7 @@ class CleanImport(object): Use like this: with CleanImport("foo"): - __import__("foo") # new reference + importlib.import_module("foo") # new reference """ def __init__(self, *module_names): |