Commit 71b1e2bc authored by Fred Drake's avatar Fred Drake

print_results(): Don't print the "Bad unpack" message; it's not

    right.  Added a comment explaining what it represents in the
    function.
parent 23578a23
......@@ -26,8 +26,11 @@ def basename(path, cache={}):
def print_results(results):
for info, place in results:
if not place:
print 'Bad unpack:', info, place
if place is None:
# This is the startup time for the profiler, and only
# occurs at the very beginning. Just ignore it, since it
# corresponds to frame setup of the outermost call, not
# anything that's actually interesting.
continue
filename, line, funcname = place
print '%8d %8d' % info, basename(filename), line
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment