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

fix pylint consider-iterating-dictionary warning #2084

Closed
gyorb opened this issue Apr 17, 2019 · 0 comments · Fixed by #3314
Closed

fix pylint consider-iterating-dictionary warning #2084

gyorb opened this issue Apr 17, 2019 · 0 comments · Fixed by #3314

Comments

@gyorb
Copy link
Contributor

gyorb commented Apr 17, 2019

C0201 - Consider iterating the dictionary directly instead of calling .keys()
It is enough to just iterate through the dictionary like:
for key in dictionary

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

Successfully merging a pull request may close this issue.

1 participant