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

lina lina.lastname at gmail.com
Thu Sep 8 16:11:37 CEST 2011


Thanks, this is very informative.

open some windows for me.



On Thu, Sep 8, 2011 at 9:58 PM, Alan Gauld <alan.gauld at btinternet.com> wrote:
> 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/
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
Best Regards,

lina


More information about the Tutor mailing list