should "self" be changed?

Vito De Tullio vito.detullio at gmail.com
Tue May 26 17:17:03 EDT 2015


Mark Lawrence wrote:

>>     def __init__(ስ):
>>         ስ.dummy = None

> Apart from breaking all the tools that rely on "self" being spelt "self"
> this looks like an excellent idea.

too bad for the tools: using the name "self" is just a convention, not a 
rule.

-- 
By ZeD




More information about the Python-list mailing list