diff --git a/contrib/import-checker.py b/contrib/import-checker.py --- a/contrib/import-checker.py +++ b/contrib/import-checker.py @@ -90,7 +90,8 @@ def list_stdlib_modules(): for name in files: if name == '__init__.py': continue - if not (name.endswith('.py') or name.endswith('.so')): + if not (name.endswith('.py') or name.endswith('.so') + or name.endswith('.pyd')): continue full_path = os.path.join(top, name) if 'site-packages' in full_path: