summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/util.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-06-25 17:50:24 (GMT)
committerBrett Cannon <brett@python.org>2016-06-25 17:50:24 (GMT)
commitda037616b10fc12a213e67711065f8123fb98cef (patch)
tree24fdcc554f0a01dd3c84070669f4f343fedaf229 /Lib/importlib/util.py
parentb466f8facf9ae8e893c30b7a7a76a8333b59d5c7 (diff)
parente92dc9c23da8cb11f922f28353e6a58928aa5c71 (diff)
downloadcpython-da037616b10fc12a213e67711065f8123fb98cef.zip
cpython-da037616b10fc12a213e67711065f8123fb98cef.tar.gz
cpython-da037616b10fc12a213e67711065f8123fb98cef.tar.bz2
Merge from 3.5
Diffstat (limited to 'Lib/importlib/util.py')
-rw-r--r--Lib/importlib/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/util.py b/Lib/importlib/util.py
index af781fd..a9d0f1e 100644
--- a/Lib/importlib/util.py
+++ b/Lib/importlib/util.py
@@ -241,7 +241,7 @@ class _LazyModule(types.ModuleType):
if id(self) != id(sys.modules[original_name]):
msg = ('module object for {!r} substituted in sys.modules '
'during a lazy load')
- raise ValueError(msg.format(original_name))
+ raise ValueError(msg.format(original_name))
# Update after loading since that's what would happen in an eager
# loading situation.
self.__dict__.update(attrs_updated)