prune#

prune(ketbra, depth)[source]#

Remove leaves whose depth is less than depth.