[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 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 
<http://bugs.python.org/issue18146>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com