Skip to content

Instantly share code, notes, and snippets.

@nloadholtes
Created November 6, 2016 01:18
Show Gist options
  • Save nloadholtes/ee644e728d83c07e71152de15e6a71ea to your computer and use it in GitHub Desktop.
Save nloadholtes/ee644e728d83c07e71152de15e6a71ea to your computer and use it in GitHub Desktop.
def wat(my_input_list):
my_output_list = []
for x in my_input_list:
if isinstance(x, basestring):
#Why are we getting strings!?!?!
continue
output = process_stuff(x)
my_input_list.append(output)
return my_output_list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment