Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading into mypy #26

Open
rpgoldman opened this issue Aug 8, 2018 · 0 comments · May be fixed by #29 or #30
Open

Error loading into mypy #26

rpgoldman opened this issue Aug 8, 2018 · 0 comments · May be fixed by #29 or #30

Comments

@rpgoldman
Copy link

When I use mypy with these stubs (python 3.6, MacOS) I get this (cryptic) message:

stubs/numpy/__init__.pyi:48: error: Class numpy.flatiter has abstract attributes "__next__"
stubs/numpy/__init__.pyi:48: note: If it is meant to be abstract, add 'abc.ABCMeta' as an explicit metaclass

I'm afraid I don't know what this means; I suspect it has to do with the use of type variables, but...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant