In python, what\'s the best way to test if a variable contains a list or a tuple? (ie. a collection)
Is isinstance() as evil as suggested here? http://w
isinstance()
Document the argument as needing to be a sequence, and use it as a sequence. Don't check the type.