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

Improvement in "Not using unpacking" #24

Closed mpanczyk closed 9 years ago

mpanczyk commented 9 years ago

Change toward a working example, which is also more practical. Also, added one "gotcha" example of python upacking.

The previous code samples were not equivalent, as it was written.

adewes commented 9 years ago

awesome, thanks @mpanczyk !