1
# DP: hotshot/pstats.py: Error out on missing profile/pstats modules.
2
# DP: Add a note to the library documentation, that the profile and pstats
3
# DP: modules can be found in the python2.x-profiler package.
5
--- a/Doc/library/profile.rst
6
+++ b/Doc/library/profile.rst
11
+Debian note: The license for the :mod:`profile` and :mod:`pstats`
12
+modules doesn't conform to the Debian Free Software Guidelines (DFSG).
13
+These modules can be found in the *python-profiler* package in the
14
+*non-free* section of the Debian archives or in the the *multiverse*
15
+section of the Ubuntu archives.
17
.. sectionauthor:: James Roskind
21
:synopsis: Python profiler
24
+Debian note: The license for the :mod:`profile` and :mod:`pstats`
25
+modules doesn't conform to the Debian Free Software Guidelines (DFSG).
26
+These modules can be found in the *python-profiler* package in the
27
+*non-free* section of the Debian archives or in the the *multiverse*
28
+section of the Ubuntu archives.
30
The primary entry point for the profiler is the global function
31
:func:`profile.run` (resp. :func:`cProfile.run`). It is typically used to create
32
any profile information. The reports are formatted and printed using methods of