Fix an issue with slice indexing.
This commit is contained in:
1 parent
3a0008ea80
commit
218278af8d
3 files changed
+11
-2
No files matched your search
@@ -378,7 +378,7 @@ class Evaluator(object):
|
||||
pass
|
||||
else:
|
||||
if comp_for == ':':
|
||||
# Dict comprehensions have it at the 3rd index.
|
||||
# Dict comprehensions have a colon at the 3rd index.
|
||||
try:
|
||||
comp_for = c[1].children[3]
|
||||
except IndexError:
|
||||
|
||||
Reference in new issue
Block a user