Question on class member in python

Tau thetau at gmail.com
Mon Oct 17 10:38:35 CEST 2005


Get answer by typing:
id(a.member)==id(a.getMember())

You will often find id() useful when in doubt whether the two objects
are distinct.




More information about the Python-list mailing list