Skip to content

Instantly share code, notes, and snippets.

@sentenza
Created February 2, 2014 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sentenza/8774702 to your computer and use it in GitHub Desktop.
Save sentenza/8774702 to your computer and use it in GitHub Desktop.
Managing lists as function parameters
def funct(list1, list2):
assert isinstance(list1, list) and isinstance(list2, list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment