We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a08388c commit cb14d6fCopy full SHA for cb14d6f
mypy/moduleinspect.py
@@ -36,7 +36,7 @@ def is_c_module(module: ModuleType) -> bool:
36
# Could be a namespace package. These must be handled through
37
# introspection, since there is no source file.
38
return True
39
- return os.path.splitext(module.__dict__["__file__"])[-1] in [".so", ".pyd"]
+ return os.path.splitext(module.__dict__["__file__"])[-1] in [".so", ".pyd", ".dll"]
40
41
42
class InspectError(Exception):
0 commit comments