In message <a96e95ab-9953-4e61- ad66-09759aa1c...@e1g2000pra.googlegroups.com>, Kooks are people too wrote:
> If I try this: > > class A: > someType = B > > class B: > anotherType = A > > I get: > <type 'exceptions.NameError'>: name 'B' is not defined > args = ("name 'B' is not defined",) > message = "name 'B' is not defined" Try class A: pass class B: anotherType = A A.someType = B -- http://mail.python.org/mailman/listinfo/python-list