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

Licheng Fang fanglicheng at
Sat Nov 24 11:31:02 CET 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