Martin Drautzburg <martin.drautzb...@web.de> writes: > When passing parameters to a function, you sometimes need a paramter > which can only assume certain values
You might like to try the ‘enum’ library for this <URL:http://pypi.python.org/pypi/enum>. -- \ “You could augment an earwig to the point where it understood | `\ nuclear physics, but it would still be a very stupid thing to | _o__) do!” —The Doctor, _The Two Doctors_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list