Skip to content

Commit

Permalink
Remove f-string (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
zasdfgbnm authored Sep 9, 2019
1 parent 95e179a commit bd0652d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchsnooper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __call__(self, tensor):
class NumpyFormat:

def __call__(self, x):
return f'ndarray<{x.shape}, {x.dtype.name}>'
return 'ndarray<{}, {}>'.format(x.shape, x.dtype.name)


default_numpy_format = NumpyFormat()
Expand Down

0 comments on commit bd0652d

Please sign in to comment.