Part of bzrlib.lsprof View In Hierarchy
This code is taken from http://ddaa.net/blog/python/lsprof-calltree with the changes made by J.P. Calderone and Itamar applied. Note that isinstance(code, str) needs to be used at times to determine if the code object is actually an external code object (with a filename, etc.) or a Python built-in.
Method | __init__ | Undocumented |
Method | output | Undocumented |
Method | _print_summary | Undocumented |
Method | _entry | Undocumented |
Method | _subentry | Undocumented |