Skip to content

Instantly share code, notes, and snippets.

@dreid
Created May 30, 2012 22:05
Show Gist options
  • Save dreid/2839232 to your computer and use it in GitHub Desktop.
Save dreid/2839232 to your computer and use it in GitHub Desktop.
>>> (foo, bar) = xrange(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: need more than 1 value to unpack
>>> (foo, bar) = xrange(19)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: too many values to unpack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment