[newbie] - what is self variable?
Simon Brunning
SBrunning at trisystems.co.uk
Wed May 30 11:28:05 EDT 2001
More information about the Python-list mailing list
Wed May 30 11:28:05 EDT 2001
- Previous message (by thread): [newbie] - what is self variable?
- Next message (by thread): [newbie] - what is self variable?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> From: Cervantes [SMTP:CervantesVive at hotmail.com] > i've already written a few python scripts but am just learning oop. i > notice > many examples make use of a 'self' variable under __init__ , what does > this > referr to? > > is it like a this pointer? In a word, yes. See <http://www.python.org/doc/current/tut/node11.html> for details. Cheers, Simon Brunning TriSystems Ltd. sbrunning at trisystems.co.uk ----------------------------------------------------------------------- The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution, or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot accept liability for statements made which are clearly the senders own.
- Previous message (by thread): [newbie] - what is self variable?
- Next message (by thread): [newbie] - what is self variable?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list