bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)
This commit is contained in:
parent
5bfa058e65
commit
fffeb6f3d6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue