On Jan 28, 11:32 pm, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
En Wed, 28 Jan 2009 16:05:39 -0200, coutinhoti...@gmail.com
coutinhoti...@gmail.com escribió:
I had the same problem myself.
Mark's detailed explanation really helped me understand.
I ended up doing something
Hi!
I had the same problem myself.
Mark's detailed explanation really helped me understand.
I ended up doing something like:
class A:
def __init__(self):
names = 'n1', 'n2'
for n in names:
setattr(self, get%s % n, self._createGetter(n))
def