This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Document miss, Stats objects has no method called "print_results"
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 2.7
Status: closed Resolution: duplicate
Dependencies: Superseder: Example for Profile Module shows incorrect method
View: 18033
Assigned To: docs@python Nosy List: dmi.baranov, docs@python, hanks
Priority: normal Keywords:

Created on 2013-06-06 04:16 by hanks, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg190705 - (view) Author: hanks (hanks) Date: 2013-06-06 04:16

The example in this page:

import cProfile, pstats, io
pr = cProfile.Profile()
... do something ...
s = io.StringIO()
ps = pstats.Stats(pr, stream=s)
ps.print_results()  # actually Stats objects has no method called "print_results"
msg190707 - (view) Author: Dmi Baranov (dmi.baranov) * Date: 2013-06-06 09:08
Duplication of issue 18033
Date User Action Args
2022-04-11 14:57:46adminsetgithub: 62346
2013-06-06 09:40:47r.david.murraysetsuperseder: Example for Profile Module shows incorrect method
resolution: duplicate
stage: resolved
2013-06-06 09:14:13hankssetstatus: open -> closed
2013-06-06 09:08:56dmi.baranovsetnosy: + dmi.baranov
messages: + msg190707
2013-06-06 04:16:09hankscreate