bpo-30436: Add missing space in importlib.util.find_spec() error mess… · python/cpython@d2a2af0 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit d2a2af0

miss-islingtonZackerySpytz

and

authored

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

(cherry picked from commit fffeb6f) Co-authored-by: Zackery Spytz zspytz@gmail.com

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ def find_spec(name, package=None):
96 96 parent_path = parent.__path__
97 97 except AttributeError as e:
98 98 raise ModuleNotFoundError(
99 -f"__path__ attribute not found on {parent_name!r}"
99 +f"__path__ attribute not found on {parent_name!r} "
100 100 f"while trying to find {fullname!r}", name=fullname) from e
101 101 else:
102 102 parent_path = None