Circular Inheritance

jinal jhaveri jhaveri at usc.edu
Tue Jul 1 18:36:11 EDT 2003


Hi All,

I have one question regarding circular inheritance

I have 3 files

1) A.py , having module A and some other modules
2) B.py having module B and some other modules
3) C.py having module C and some other modules

Now I want to import Module C in B.py

but C requires A.py 
and A requires B.py

so 

B requires C
C requires A
A requires B

and when I try to do this using 

from ...import....
it tells me that you cannot import this. 

So any suggestions on this?

thank you
Jinal







More information about the Python-list mailing list