Skip to content

Commit d2a2af0

Browse files
bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)
(cherry picked from commit fffeb6f) Co-authored-by: Zackery Spytz <[email protected]>
1 parent cebd4b0 commit d2a2af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/importlib/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def find_spec(name, package=None):
9696
parent_path = parent.__path__
9797
except AttributeError as e:
9898
raise ModuleNotFoundError(
99-
f"__path__ attribute not found on {parent_name!r}"
99+
f"__path__ attribute not found on {parent_name!r} "
100100
f"while trying to find {fullname!r}", name=fullname) from e
101101
else:
102102
parent_path = None

0 commit comments

Comments
 (0)