@@ -626,12 +626,13 @@ \section{New and Improved Modules}
626626
627627\begin {itemize }
628628
629- \item Ka-Ping Yee contributed two new modules: \module {inspect.py}, a module for
630- getting information about live Python code, and \module {pydoc.py}, a
631- module for interactively converting docstrings to HTML or text.
632- As a bonus, \file {Tools/scripts/pydoc}, which is now automatically
633- installed, uses \module {pydoc.py} to display documentation given a Python module, package, or class name. For example,
634- \samp {pydoc xml.dom} displays the following:
629+ \item Ka-Ping Yee contributed two new modules: \module {inspect.py}, a
630+ module for getting information about live Python code, and
631+ \module {pydoc.py}, a module for interactively converting docstrings to
632+ HTML or text. As a bonus, \file {Tools/scripts/pydoc}, which is now
633+ automatically installed, uses \module {pydoc.py} to display
634+ documentation given a Python module, package, or class name. For
635+ example, \samp {pydoc xml.dom} displays the following:
635636
636637\begin {verbatim }
637638Python Library Documentation: package xml.dom in xml
@@ -650,6 +651,7 @@ \section{New and Improved Modules}
650651 ...
651652\end {verbatim }
652653
654+ \file {pydoc} also includes a Tk-based interactive help browser.
653655\file {pydoc} quickly becomes addictive; try it out!
654656
655657\item Two different modules for unit testing were added to the
@@ -719,6 +721,11 @@ \section{New and Improved Modules}
719721\item Support for raw socket access has been added to the
720722\module {socket} module, contributed by Grant Edwards.
721723
724+ \item The \module {pstats} module now contains a simple interactive
725+ statistics browser for displaying timing profiles for Python programs,
726+ invoked when the module is run as a script. Contributed by
727+ Eric S.\ Raymond.
728+
722729\item A new implementation-dependent function, \function {sys._getframe(\optional {depth})},
723730has been added to return a given frame object from the current call stack.
724731\function {sys._getframe()} returns the frame at the top of the call stack;
0 commit comments