proposal, change self. to .

Heiko Wundram modelnine at modelnine.org
Sun Aug 3 07:10:26 EDT 2008


Am 03.08.2008, 12:51 Uhr, schrieb Equand <equand at gmail.com>:
> how about changing the precious self. to .
> imagine
>
> self.update()
>
> .update()
>
> simple right?

What about:

class x:

      def x(self,ob):
          ob.doSomethingWith(self)

? Not so simple anymore, isn't it? If you're not trolling, there's
hundreds of reasons why the explicit self is as it is, and it's not going
to go away, just as a thread that produced immense amounts of response
demonstrated around a week ago. Read that, and rethink.

--- Heiko.



More information about the Python-list mailing list