From: Zackery Spytz <zspytz@gmail.com>
Date: Thu, 7 Jun 2018 06:02:24 +0000 (-0600)
Subject: bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)
X-Git-Tag: v3.8.0a1~1642
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14;p=python

bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)
---

diff --git a/Lib/importlib/util.py b/Lib/importlib/util.py
index 9d0a90d297..201e0f4cb8 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