Var rename
This commit is contained in:
parent
fbef0f9deb
commit
731327c079
@ -471,12 +471,12 @@ def selection_and_product(n: parser.Node, rels: Dict[str, Relation]) -> Tuple[pa
|
|||||||
groups: List[List[LevelString]] = []
|
groups: List[List[LevelString]] = []
|
||||||
temp: List[LevelString] = []
|
temp: List[LevelString] = []
|
||||||
|
|
||||||
for i in tokens:
|
for k in tokens:
|
||||||
if i == 'and' and i.level == 0:
|
if k == 'and' and k.level == 0:
|
||||||
groups.append(temp)
|
groups.append(temp)
|
||||||
temp = []
|
temp = []
|
||||||
else:
|
else:
|
||||||
temp.append(i)
|
temp.append(k)
|
||||||
if len(temp):
|
if len(temp):
|
||||||
groups.append(temp)
|
groups.append(temp)
|
||||||
del temp
|
del temp
|
||||||
|
Loading…
Reference in New Issue
Block a user