[Python-ideas] PEP: Shorthand Symbol for "self"

Jacob Rus jacobolus at gmail.com
Thu Aug 28 05:39:45 CEST 2008

Russ Paielli wrote:
> My editor, Xemacs, also highlights the word "self." I personally find that a
> bit annoying, and perhaps that is part of the reason I don't appreciate the
> word. When I write an algorithm, I don't want to see some artifact
> highlighted, as if it is somehow the most important part of the algorithm. I
> like seeing keywords highlighted, but I don't want to see "self" highlighted
> because it is only a convention. Maybe I'm alone on that.

Change your editor such that the highlighting de-emphasizes the word 
self (by making it closer to the background color or whatever; this is 
what I do myself), and you should be all set then.


More information about the Python-ideas mailing list