Re: proposal, change self. to .

2008-08-05 Thread Russ P.
On Aug 3, 5:44 am, Nick Dumas <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > It's also worth noting that you can use a different name for the object > that represents your class. If you did def __init__(foo):pass, then you > would be able to access the class's obje

Re: proposal, change self. to .

2008-08-05 Thread Russ P.
On Aug 3, 4:10 am, "Heiko Wundram" <[EMAIL PROTECTED]> wrote: > Am 03.08.2008, 12:51 Uhr, schrieb Equand <[EMAIL PROTECTED]>: > > > how about changing the precious self. to . > > imagine > > > self.update() > > > .update() > > > simple right? > > What about: > > class x: > > def x(self,ob): >

Re: proposal, change self. to .

2008-08-05 Thread bearophileHUGS
Heiko Wundram: > > how about changing the precious self. to . > > imagine > > self.update() > > .update() > > simple right? I suggest you to start using Ruby instead. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list

Re: proposal, change self. to .

2008-08-05 Thread David C. Ullrich
In article <[EMAIL PROTECTED]>, Nick Dumas <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > It's also worth noting that you can use a different name for the object > that represents your class. If you did def __init__(foo):pass, then you > would be able to access

Re: proposal, change self. to .

2008-08-03 Thread Nick Dumas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's also worth noting that you can use a different name for the object that represents your class. If you did def __init__(foo):pass, then you would be able to access the class's objects with foo.objectname. Using self is simply the recommended standa

Re: proposal, change self. to .

2008-08-03 Thread Heiko Wundram
Am 03.08.2008, 12:51 Uhr, schrieb Equand <[EMAIL PROTECTED]>: 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, the

proposal, change self. to .

2008-08-03 Thread Equand
how about changing the precious self. to . imagine self.update() .update() simple right? -- http://mail.python.org/mailman/listinfo/python-list