custom classes in sets

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Mon Feb 14 01:51:54 EST 2005


vegetax wrote:

>   def __hashcode__(s): return s.path.__hashcode__()

Try __hash__ ...

Tim Delaney



More information about the Python-list mailing list