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 438d612 commit 0c3c928Copy full SHA for 0c3c928
cyaron/sequence.py
@@ -11,7 +11,7 @@ def __init__(self, formula, initial_values=[]):
11
"""
12
self.formula = formula
13
if list_like(initial_values):
14
- self.values = {k: v for (k, v) in enumerate(initial_values)}
+ self.values = dict(enumerate(initial_values))
15
elif isinstance(initial_values, dict):
16
self.values = initial_values
17
else:
0 commit comments