[issue18146] Document miss, Stats objects has no method called "print_results"

2013-06-06 Thread hanks
Changes by hanks : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue18146> ___ ___ Python-bugs-list mailing list Unsubscri

[issue18146] Document miss, Stats objects has no method called "print_results"

2013-06-05 Thread hanks
New submission from hanks: link: http://docs.python.org/2/library/profile.html The example in this page: import cProfile, pstats, io pr = cProfile.Profile() pr.enable() ... do something ... pr.disable() s = io.StringIO() ps = pstats.Stats(pr, stream=s) ps.print_results() # actually Stats