Skip to content

Commit 636b344

Browse files
committed
FIX string format changed to support Python 2
1 parent 4565b8f commit 636b344

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

memory_profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ def move_to_start(d, key):
10481048
'Tracemalloc or psutil module is required for non-unix '
10491049
'platforms')
10501050
if _backend != new_backend and new_backend is not None:
1051-
print('{} can not be used, {} used instead'.format(new_backend,
1051+
print('{0} can not be used, {1} used instead'.format(new_backend,
10521052
_backend))
10531053
global _backend_chosen
10541054
_backend_chosen = True

0 commit comments

Comments
 (0)