Commit fffeb6f3 authored by Zackery Spytz's avatar Zackery Spytz Committed by Ned Deily

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

parent 5bfa058e
...@@ -96,7 +96,7 @@ def find_spec(name, package=None): ...@@ -96,7 +96,7 @@ def find_spec(name, package=None):
parent_path = parent.__path__ parent_path = parent.__path__
except AttributeError as e: except AttributeError as e:
raise ModuleNotFoundError( 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 f"while trying to find {fullname!r}", name=fullname) from e
else: else:
parent_path = None parent_path = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment