Lift a ValueError.
This is pretty much the standard way of saying, "You gave me a meaning that doesn't make sense." For instance:
>>> int ("a")
Traceback (most recent call last):
File "", line 1, in
ValueError: invalid literal for int () with base 10: 'a'
>>> import shlex; shlex.split ("'")
Traceback (most recent call last):
...
ValueError: No closing quotation
TypeError, , :
>>> d = {}
>>> d[{}]
Traceback (most recent call last):
File "", line 1, in
TypeError: unhashable type: 'dict'