Unverified Kaydet (Commit) d2a2af0d authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) GitHub

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

(cherry picked from commit fffeb6f3)
Co-authored-by: 's avatarZackery Spytz <zspytz@gmail.com>
üst cebd4b00
...@@ -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