Idea about method parameters
Chris Barker
chrishbarker at home.net
Mon Sep 24 14:52:50 EDT 2001
Markus Schaber wrote:
> Now I'd love to have the possibility to shorten this by typing:
>
> class A:
> def m(self, self.value):
> pass # or the other work to be done
I suspect that this will clash with the internals somewhere, but I love
it!
-Chris
--
Christopher Barker,
Ph.D.
ChrisHBarker at home.net --- --- ---
http://members.home.net/barkerlohmann ---@@ -----@@ -----@@
------@@@ ------@@@ ------@@@
Oil Spill Modeling ------ @ ------ @ ------ @
Water Resources Engineering ------- --------- --------
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------
More information about the Python-list
mailing list