[Python-3000] callable()

Guido van Rossum guido at python.org
Wed Jul 26 17:37:20 CEST 2006


On 7/26/06, Nick Coghlan <ncoghlan at gmail.com> wrote:
>    class Unhashable(object):
>        __hash__ = Undefined

Simpler: set it to None. That could be a convention.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list