summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-04-16 02:27:53 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-04-16 02:27:53 (GMT)
commit1fcd4389562476b9ccf6e7be3f58c68b54dd15be (patch)
tree5b4ebd05fadfb57f9b929e89c52de743074df391 /Doc/whatsnew
parent8c83ec63f59b5a9512f907aa4f2c63d3ed7af7a0 (diff)
downloadcpython-1fcd4389562476b9ccf6e7be3f58c68b54dd15be.zip
cpython-1fcd4389562476b9ccf6e7be3f58c68b54dd15be.tar.gz
cpython-1fcd4389562476b9ccf6e7be3f58c68b54dd15be.tar.bz2
Update document for the actual 2.1rc1
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/whatsnew21.tex19
1 files changed, 13 insertions, 6 deletions
diff --git a/Doc/whatsnew/whatsnew21.tex b/Doc/whatsnew/whatsnew21.tex
index 948d43a..04e8ff1 100644
--- a/Doc/whatsnew/whatsnew21.tex
+++ b/Doc/whatsnew/whatsnew21.tex
@@ -626,12 +626,13 @@ Python packages to a central server.
\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:
+\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}
Python Library Documentation: package xml.dom in xml
@@ -650,6 +651,7 @@ DESCRIPTION
...
\end{verbatim}
+\file{pydoc} also includes a Tk-based interactive help browser.
\file{pydoc} quickly becomes addictive; try it out!
\item Two different modules for unit testing were added to the
@@ -719,6 +721,11 @@ unsuitable for your application or network setup, call
\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})},
has been added to return a given frame object from the current call stack.
\function{sys._getframe()} returns the frame at the top of the call stack;