From: A.M. K. <aku...@us...> - 2001-04-16 02:27:57
|
Update of /cvsroot/py-howto/pyhowto In directory usw-pr-cvs1:/tmp/cvs-serv15870 Modified Files: python-21.tex Log Message: Update document for the actual 2.1rc1 Index: python-21.tex =================================================================== RCS file: /cvsroot/py-howto/pyhowto/python-21.tex,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -r1.24 -r1.25 *** python-21.tex 2001/04/12 04:11:21 1.24 --- python-21.tex 2001/04/16 02:27:53 1.25 *************** *** 627,636 **** \begin{itemize} ! \item Ka-Ping Yee contributed two new modules: \module{inspect.py}, a module for ! getting information about live Python code, and \module{pydoc.py}, a ! module for interactively converting docstrings to HTML or text. ! As a bonus, \file{Tools/scripts/pydoc}, which is now automatically ! installed, uses \module{pydoc.py} to display documentation given a Python module, package, or class name. For example, ! \samp{pydoc xml.dom} displays the following: \begin{verbatim} --- 627,637 ---- \begin{itemize} ! \item Ka-Ping Yee contributed two new modules: \module{inspect.py}, a ! module for getting information about live Python code, and ! \module{pydoc.py}, a module for interactively converting docstrings to ! HTML or text. As a bonus, \file{Tools/scripts/pydoc}, which is now ! automatically installed, uses \module{pydoc.py} to display ! documentation given a Python module, package, or class name. For ! example, \samp{pydoc xml.dom} displays the following: \begin{verbatim} *************** *** 651,654 **** --- 652,656 ---- \end{verbatim} + \file{pydoc} also includes a Tk-based interactive help browser. \file{pydoc} quickly becomes addictive; try it out! *************** *** 719,722 **** --- 721,729 ---- \item Support for raw socket access has been added to the \module{socket} module, contributed by Grant Edwards. + + \item The \module{pstats} module now contains a simple interactive + statistics browser for displaying timing profiles for Python programs, + invoked when the module is run as a script. Contributed by + Eric S.\ Raymond. \item A new implementation-dependent function, \function{sys._getframe(\optional{depth})}, |