quantifiedcode / python-anti-patterns

An open collection of Python anti-patterns and worst practices.
https://quantifiedcode.github.io/python-anti-patterns
Other
1.71k stars 249 forks source link

fix: improve "key in list" code comment #42

Closed JensRantil closed 9 years ago

JensRantil commented 9 years ago

The check does not iterate over the whole list three times. Clarifying that.

adewes commented 9 years ago

Thanks @JensRantil !