[issue18146] Document miss, Stats objects has no method called "print_results"
6 Jun
2013
6 Jun
'13
4:16 a.m.
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 objects has no method called "print_results"
----------
assignee: docs@python
components: Documentation
messages: 190705
nosy: docs@python, hanks
priority: normal
severity: normal
status: open
title: Document miss, Stats objects has no method called "print_results"
type: enhancement
versions: Python 2.7
_______________________________________
Python tracker
3948
Age (days ago)
3948
Last active (days ago)
3 comments
3 participants
participants (3)
-
Dmi Baranov
-
hanks
-
R. David Murray