def is_hashable(object):
    try:
        hash(object)
        return True
    except TypeError:
        return False

it is then. Thanks to all!

Dick
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to