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

s = set(1, 2, 3, 4) #21

Closed jhermann closed 9 years ago

jhermann commented 9 years ago

set does not take multiple arguments.

adewes commented 9 years ago

Thanks, @jhermann , you found this in docs/performance/using_key_in_list_to_check_if_key_is_contained_in_a_list.rst I guess? Just fixed it there, please let me know if it pops up anywhere else.