We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f69a1e0 commit e21244fCopy full SHA for e21244f
generalizedtrees/stop.py
@@ -41,7 +41,7 @@ def __init__(self, *subcriteria):
41
42
def check(self, node) -> bool:
43
44
- for criterion in self.criteria:
+ for criterion in self.subcriteria:
45
if not criterion.check(node): return False
46
47
return True
@@ -56,7 +56,7 @@ def __init__(self, *subcriteria):
56
57
58
59
60
if criterion.check(node): return True
61
62
return False
@@ -71,7 +71,7 @@ def __init__(self, *subcriteria):
71
72
def check(self, tree: Tree) -> bool:
73
74
75
if not criterion.check(tree): return False
76
77
@@ -86,7 +86,7 @@ def __init__(self, *subcriteria):
86
87
88
89
90
if criterion.check(tree): return True
91
92
0 commit comments