bpo-30436: Add missing space in importlib.util.find_spec() error mess… · python/cpython@fffeb6f (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit fffeb6f
authored and
committed
bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
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 |