[Python-Dev] the explicit self

Fredrik Lundh fredrik at pythonware.com
Wed Aug 27 19:26:09 CEST 2008


Kilian Klimek wrote:

> Saying "your method must accept an extra parameter (which most people 
> call 'self') that carries all object attributes" is hardly any more 
> explicit then saying "there is a special variable (which is always named 
> 'this') that carries all object attributes".

in this context, implicit and explicit refers to the code, not the 
documentation.

</F>



More information about the Python-Dev mailing list