DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Circular import error
class A: def __init__(self, ref): from b import B assert isinstance(ref, B) self.ref = ref
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Circular
#import
#error
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit