On 7 Jul., 08:01, Rotlaus <[EMAIL PROTECTED]> wrote:
> 2 weeks ago i asked for a etended getattr() which worked really fine,
> but now i would love to have a extendedsetattr() as well.
I've tried the following, but it doesn't work:
class A(object):
def __init__(sel
2 weeks ago i asked for a etended getattr() which worked really fine,
but now i would love to have a extended setattr() as well.
Lets assume i have some classes:
class A(object):
def __init__(self):
self.B = B()
class B(object):
def __init__(self):
self.C = C()
class C(o
Hello,
lets assume i have some classes:
class A(object):
def __init__(self):
b = B()
class B(object):
def __init__(self):
c = C()
class C(object):
def __init__(self):
pass
and now i wanna do something like this:
a=A()
c=getattr(a, 'b.c')
I know this doesn'