A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/339523.html below:

What is "self"?

What is "self"? What is "self"?Roy Smith roy at panix.com
Fri Sep 23 07:46:19 EDT 2005
Ron Adam <rrr at ronadam.com> wrote:
> You can actually call it anything you want but "self" is sort of a 
> tradition.

That's true, but I think needs to be said a bit more emphatically.  There's 
no reason to call it anything other than "self" and a newcomer to the 
language would be well advised to not try and be creative here.  Using 
"self" is virtually universal, and calling it anything else will just lead 
to confusion by other people who have to read your code.

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4