summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2018-06-07 06:02:24 (GMT)
committerNed Deily <nad@python.org>2018-06-07 06:02:24 (GMT)
commitfffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14 (patch)
tree98b7e4346bc9de5fb99f8076ed9f1be2f9b80666 /Lib/importlib
parent5bfa058e65897567889354d7eb34af2b93a20f18 (diff)
downloadcpython-fffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14.zip
cpython-fffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14.tar.gz
cpython-fffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14.tar.bz2
bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)
Diffstat (limited to 'Lib/importlib')
-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 9d0a90d..201e0f4 100644
--- a/Lib/importlib/util.py
+++ b/Lib/importlib/util.py
@@ -96,7 +96,7 @@ def find_spec(name, package=None):
parent_path = parent.__path__
except AttributeError as e:
raise ModuleNotFoundError(
- f"__path__ attribute not found on {parent_name!r}"
+ f"__path__ attribute not found on {parent_name!r} "
f"while trying to find {fullname!r}", name=fullname) from e
else:
parent_path = None