From 37a5ca314134e8d0cf14947c960ebce172e5976a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Thu, 19 Dec 2024 12:56:12 +0100 Subject: [PATCH] Update spec.py Co-authored-by: Pierre Sassoulas --- astroid/interpreter/_import/spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astroid/interpreter/_import/spec.py b/astroid/interpreter/_import/spec.py index e34a9b493..457a71cbd 100644 --- a/astroid/interpreter/_import/spec.py +++ b/astroid/interpreter/_import/spec.py @@ -147,7 +147,7 @@ def find_module( if PY310_PLUS: # If the module is a stdlib module, check whether this is a frozen module. Note that # `find_spec` actually imports the module, so we want to make sure we only run this code - # for stuff this is can be expected to be frozen. For now this is only stdlib. + # for stuff that can be expected to be frozen. For now this is only stdlib. if modname in sys.stdlib_module_names or ( processed and processed[0] in sys.stdlib_module_names ):