-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Missing 'has no attribute' #4926
Comments
This is an issue with http://github.com/python/typeshed. It looks like we misspelled Edit: Actually it is not misspelled; ctypes just exposes the same object under both names. |
Yes, |
OK, since |
fixes mypy 'has no attribute' see python/mypy#4926
Code:
from ctypes import c_voidp
Mypy runing as:
It reports:
But
'c_voidp' in dir(ctypes)
returnTrue
.The text was updated successfully, but these errors were encountered: