Commit 1ecaf4e
committed
Unpacking return value if max_usage is True
If the memory_usage function is called with (callable, arglist,
kwargs), as target and max_usage is True, the function now returns
a number instead of a list with one entry.1 parent cedd238 commit 1ecaf4e
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
| 343 | + | |
342 | 344 | | |
343 | 345 | | |
344 | 346 | | |
| |||
0 commit comments