-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
not-callable: false positive due to conflit between "next" user-function and "collections.abc" #3970
Comments
@bansan85 thanks for your report. I can reproduce it with the following snippet:
|
Looks like this affects the whole
reports the same pylint error. I believe this is a manifestation of #4221 caused by these lines in The current issue is probably the cause of #3595 and various comments in it. All it takes to get the error is |
Steps to reproduce
Current behavior
These is no warning if I remove the line
from collections.abc import Callable
Expected behavior
No warning message.
pylint --version output
The text was updated successfully, but these errors were encountered: