[Python-ideas] Things that won't change (proposed PEP)

Oleg Broytman phd at phdru.name
Wed Jan 11 22:17:55 EST 2017


On Thu, Jan 12, 2017 at 01:37:41PM +1100, Steven D'Aprano <steve at pearwood.info> wrote:
> Explicit self
> -------------
> 
> Explicit ``self`` is a feature, not a bug.  See the
> `FAQ <https://docs.python.org/3/faq/design.html#why-must-self-be-used-explicitly-in-method-definitions-and-calls>`_
> for more detail.

   If one thinks that ``self`` is too long and tedious to write she can
use ``s`` instead.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-ideas mailing list