```python from stat import filemode ``` ``` $ mypy test1.py test1.py:1: error: Module 'stat' has no attribute 'filemode' ``` Looking in my copy of typeshed/stdlib, I see that `3/stat.pyi` does not contain a stub for `filemode`. `3.4/_stat.pyi` does, but mypy does not see it there. What is the right way to deal with that?
Activity
[-]Module `stat` has no attribute `filemode`[/-][+]Module 'stat' has no attribute 'filemode'[/+]gvanrossum commentedon Jan 20, 2018
You can submit a PR that adds something like this
Add stub for stat.filemode
Add stub for stat.filemode (#1837)