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

This commit is contained in:
Zackery Spytz 2018-06-07 00:02:24 -06:00 committed by Ned Deily
parent 5bfa058e65
commit fffeb6f3d6
1 changed files with 1 additions and 1 deletions

View File

@ -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