How can I create customized classes that have similar properties as 'str'?

Licheng Fang fanglicheng at gmail.com
Sat Nov 24 05:31:02 EST 2007


I mean, all the class instances that equal to each other should be
reduced into only one instance, which means for instances of this
class there's no difference between a is b and a==b.

Thank you.



More information about the Python-list mailing list