In message <a96e95ab-9953-4e61- [email protected]>, 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
