diff options
Diffstat (limited to 'pyecsca/ec/point.py')
| -rw-r--r-- | pyecsca/ec/point.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyecsca/ec/point.py b/pyecsca/ec/point.py index e81b028..265a0ea 100644 --- a/pyecsca/ec/point.py +++ b/pyecsca/ec/point.py @@ -20,5 +20,5 @@ class Point(object): return self.coordinate_model == other.coordinate_model and self.coords == other.coords def __repr__(self): - args = ", ".join(["{}={}".format(key, value) for key, value in self.coords.items()]) - return "Point([{}] in {})".format(args, self.coordinate_model) + args = ", ".join([f"{key}={val}" for key, val in self.coords.items()]) + return f"Point([{args}] in {self.coordinate_model})" |
