Python Basic Doubt

Roy Smith roy at panix.com
Sat Aug 10 16:42:22 EDT 2013


In article <mailman.439.1376166663.1251.python-list at python.org>,
 Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:

> Because id(n) is not giving you the address of the NAME. It is giving
> you the address of the "10"

Actually, it is giving you the id of the int(10) object.  Maybe it's an 
address, maybe it's not.  Only your implementation knows for sure.



More information about the Python-list mailing list