Skip to content

Commit 03a9290

Browse files
Revert "just change traceback.py to make it"
This reverts commit c01925d. Changes to be committed: modified: Lib/traceback.py
1 parent b57a7e7 commit 03a9290

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/traceback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,7 @@ def _compute_suggestion_error(exc_value, tb, wrong_name):
17551755
parent = importlib.util.find_spec(parent_name)
17561756
else:
17571757
parent = None
1758-
d = list(sys.builtin_module_names)
1758+
d = []
17591759
for finder in sys.meta_path:
17601760
if discover := getattr(finder, 'discover', None):
17611761
d += [spec.name for spec in discover(parent)]

0 commit comments

Comments
 (0)