Skip to content

Commit ae3bd8c

Browse files
committed
more feedback
1 parent 6a14394 commit ae3bd8c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mypy/stubtest.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2123,11 +2123,8 @@ def exists_in_version(module: str) -> bool:
21232123

21242124
def get_importable_stdlib_modules() -> set[str]:
21252125
"""Return all importable stdlib modules at runtime."""
2126-
all_stdlib_modules: AbstractSet[str]
2127-
all_stdlib_modules = sys.stdlib_module_names
2128-
21292126
importable_stdlib_modules: set[str] = set()
2130-
for module_name in all_stdlib_modules:
2127+
for module_name in sys.stdlib_module_names:
21312128
if module_name in ANNOYING_STDLIB_MODULES:
21322129
continue
21332130

0 commit comments

Comments
 (0)