Skip to content

Commit

Permalink
f-strings are still too modern for some things …
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit Ansmann committed Nov 28, 2018
1 parent 9732cbd commit aab0c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jitcxde_common/_jitcxde.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self,n=None,verbose=True,module_location=None):

def _check_dynvar_dict(self,dictionary,name,length):
if not set(dictionary.keys()) == {self.dynvar(i) for i in range(length)}:
raise ValueError(f"If {name} is a dictionary, its keys must be y(0), y(1), …, y(n) where n is the number of entries.")
raise ValueError("If %s is a dictionary, its keys must be y(0), y(1), …, y(n) where n is the number of entries." % name)

def _generator_func_from_dynvar_dict(self,dictionary,name,length):
"""
Expand Down

0 comments on commit aab0c17

Please sign in to comment.