*** cProfile.py 2010-03-16 08:30:54.000000000 -0500 --- cProfile2.py 2010-09-19 13:49:28.000000000 -0500 *************** *** 36,42 **** result = prof.print_stats(sort) return result ! def runctx(statement, globals, locals, filename=None): """Run statement under profiler, supplying your own globals and locals, optionally saving results in filename. --- 36,42 ---- result = prof.print_stats(sort) return result ! def runctx(statement, globals, locals, filename=None, sort=-1): """Run statement under profiler, supplying your own globals and locals, optionally saving results in filename. *************** *** 53,59 **** if filename is not None: prof.dump_stats(filename) else: ! result = prof.print_stats() return result # ____________________________________________________________ --- 53,59 ---- if filename is not None: prof.dump_stats(filename) else: ! result = prof.print_stats(sort) return result # ____________________________________________________________