Skip to content

Commit 0c768c8

Browse files
authored
More comment updates
1 parent 4665d93 commit 0c768c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroid/interpreter/_import/spec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def find_module(
170170
# sys.stdlib_module_names was added in Python 3.10
171171
if PY310_PLUS:
172172
# If the module name matches a stdlib module name, check whether this is a frozen module. Note that
173-
# `find_spec` actually imports the module, so we want to make sure we only run this code
173+
# `find_spec` actually imports parent modules, so we want to make sure we only run this code
174174
# for stuff that can be expected to be frozen. For now this is only stdlib.
175175
if modname in sys.stdlib_module_names or (
176176
processed and processed[0] in sys.stdlib_module_names

0 commit comments

Comments
 (0)