printsizes (
wrappers,
sorted=descending,
threshold=0,
count=None,
size=None,
show=None,
)
Print all objects in wrappers with size above threshold, sorted as
specified. size is optionally a function that takes a wrapper and returns
its size, by default w.size.
show is optionally a function that takes a wrapper and returns
a string representation of it, by default str(w.obj)
|