Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/traceback.py
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ def _compute_suggestion_error(exc_value, tb, wrong_name):
parent = importlib.util.find_spec(parent_name)
else:
parent = None
d = []
d = list(sys.builtin_module_names)
Comment thread
picnixz marked this conversation as resolved.
Outdated
for finder in sys.meta_path:
if discover := getattr(finder, 'discover', None):
d += [spec.name for spec in discover(parent)]
Expand Down
Loading