[Tutor] a quick Q: built-in method pop of list object at 0x7f8221a22cb0>

Alan Gauld alan.gauld at btinternet.com
Thu Sep 8 15:58:06 CEST 2011


On 08/09/11 13:59, lina wrote:
> <built-in method pop of list object at 0x7f8221a22cb0>
>
> what does the 0x7f8221a22cb0 mean here? the computer physical address.

It's a unique identifier for the object which is implementation 
dependant. In practice you can consider it the memory address.

But I wouldn't try using it as an address by passing it into a
C function say. That's not guaranteed to work at all!


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list