Py3: fix generator __next__ calls
This commit is contained in:
parent
c98a6d8d71
commit
d54d208277
|
@ -182,7 +182,7 @@ def Subsequence_basic(link, traversal, loop):
|
||||||
element_shape = element_extractors[element_type_string](compound)[index]
|
element_shape = element_extractors[element_type_string](compound)[index]
|
||||||
|
|
||||||
# convert global element index to index in child
|
# convert global element index to index in child
|
||||||
i_first_child, element_type_string, i_in_child = getIndexesIntoList(element_shape, children).next()
|
i_first_child, element_type_string, i_in_child = next(getIndexesIntoList(element_shape, children))
|
||||||
if loop == 'All from first':
|
if loop == 'All from first':
|
||||||
i_first_child = 0
|
i_first_child = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user