We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e69b0b6 commit 06363d7Copy full SHA for 06363d7
1 file changed
memory_profiler.py
@@ -159,8 +159,8 @@ def _ps_util_full_tool(memory_metric):
159
160
if not hasattr(meminfo, memory_metric):
161
raise NotImplementedError(
162
- f"Metric `{memory_metric}` not available. For details, see:"
163
- f"https://psutil.readthedocs.io/en/latest/index.html?highlight=memory_info#psutil.Process.memory_full_info")
+ "Metric `{}` not available. For details, see:".format(memory_metric) +
+ "https://psutil.readthedocs.io/en/latest/index.html?highlight=memory_info#psutil.Process.memory_full_info")
164
mem = getattr(meminfo, memory_metric) / _TWO_20
165
166
if include_children:
0 commit comments