Hello.
How to get the full path (in dotted notation) to an attribute:
class meta (type):
def __ getattr__ (cls, t):
print cls.__name__, t
class a (object):
class b (object):
class c (object):
__metaclass__ = meta
a.b.c
a.b.c.ff
The result:
c ff
And how to get:
a.b.c ff
_______________________________________________
Ironpython-users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/ironpython-users
