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

Instance of 'WeakValueDictionary' has no 'data' member (no-member) #3216

Closed
ricardobranco777 opened this issue Oct 24, 2019 · 0 comments
Closed
Labels

Comments

@ricardobranco777
Copy link

Steps to reproduce

cat > /tmp/d.py <<EOF
"test"
from weakref import WeakValueDictionary
d = WeakValueDictionary()
print(d.data)
EOF
pylint /tmp/d.py

Current behavior

/tmp/d.py:4:6: E1101: Instance of 'WeakValueDictionary' has no 'data' member (no-member)`

---------------------------------------------------------------------
Your code has been rated at -6.67/10 (previous run: -10.00/10, +3.33)

Expected behavior

Code rated at 10/10

pylint --version output

pylint 2.4.3
astroid 2.3.1
Python 3.6.8 (default, Oct 7 2019, 12:59:55)
[GCC 8.3.0]

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

No branches or pull requests

2 participants