Skip to content

Commit 0c3c928

Browse files
committed
Fix for Py2.6
1 parent 438d612 commit 0c3c928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyaron/sequence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def __init__(self, formula, initial_values=[]):
1111
"""
1212
self.formula = formula
1313
if list_like(initial_values):
14-
self.values = {k: v for (k, v) in enumerate(initial_values)}
14+
self.values = dict(enumerate(initial_values))
1515
elif isinstance(initial_values, dict):
1616
self.values = initial_values
1717
else:

0 commit comments

Comments
 (0)