On 3/20/2012 0:20, Ian Kelly wrote:
Since you're writing this for Python 3 (as evidenced by the use of the
nonlocal keyword), you could take advantage here of the fact that
Python 3 dictionary views behave like sets.  Also, you should use a
more specific exception type:

As a side note, "nonlocal" isn't needed in my code, in fact I removed it right after my first post.

Kiuhnm
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to