First Edition6 min read
Item 17: Be Defensive When Iterating Over Arguments
When a function takes a list of objects as a parameter, it’s often important to iterate over that list multiple times.
By Brett SlatkinEffective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog

Read the full story
Originally published by Effective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog on Jan 4, 2015.
Comments
Sign in to join the discussion.