inherit Exception.
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ ver = sys.version_info
|
|||||||
if ver[0] <= 2 and ver[1] < 4:
|
if ver[0] <= 2 and ver[1] < 4:
|
||||||
from sets import Set as set
|
from sets import Set as set
|
||||||
|
|
||||||
class CycleError:
|
class CycleError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class digraph(object):
|
class digraph(object):
|
||||||
|
|||||||
Reference in New Issue
Block a user