Currying in Python

Kiuhnm kiuhnm03.4t.yahoo.it
Tue Mar 20 06:06:42 EDT 2012


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


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /