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

2013-06-06 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate stage: -> committed/rejected superseder: -> Example for Profile Module shows incorrect method ___ Python tracker ___ _

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

2013-06-06 Thread hanks
Changes by hanks : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2013-06-06 Thread Dmi Baranov
Dmi Baranov added the comment: Duplication of issue 18033 -- nosy: +dmi.baranov ___ Python tracker ___ ___ Python-bugs-list mailing li

[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 objec