![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: Proposal: reducing self.x=x; self.y=y; self.z=z boilerplate code
From: Andrea Griffini <agriff@tin.it>
Date: Sun Jul 03 2005 - 11:36:10 CEST
On Sat, 2 Jul 2005 03:04:09 -0700 (PDT), "Ralf W. Grosse-Kunstleve"
>Hi fellow Python coders,
With some help from new-style classes you can get more than
I'm not an expert of these low-level python tricks, but
class MyClass(Object):
and you can get in addition of redudancy removal also
HTH
|