Kaydet (Commit) 1fcd4389 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Update document for the actual 2.1rc1

üst 8c83ec63
...@@ -626,12 +626,13 @@ Python packages to a central server. ...@@ -626,12 +626,13 @@ Python packages to a central server.
\begin{itemize} \begin{itemize}
\item Ka-Ping Yee contributed two new modules: \module{inspect.py}, a module for \item Ka-Ping Yee contributed two new modules: \module{inspect.py}, a
getting information about live Python code, and \module{pydoc.py}, a module for getting information about live Python code, and
module for interactively converting docstrings to HTML or text. \module{pydoc.py}, a module for interactively converting docstrings to
As a bonus, \file{Tools/scripts/pydoc}, which is now automatically HTML or text. As a bonus, \file{Tools/scripts/pydoc}, which is now
installed, uses \module{pydoc.py} to display documentation given a Python module, package, or class name. For example, automatically installed, uses \module{pydoc.py} to display
\samp{pydoc xml.dom} displays the following: documentation given a Python module, package, or class name. For
example, \samp{pydoc xml.dom} displays the following:
\begin{verbatim} \begin{verbatim}
Python Library Documentation: package xml.dom in xml Python Library Documentation: package xml.dom in xml
...@@ -650,6 +651,7 @@ DESCRIPTION ...@@ -650,6 +651,7 @@ DESCRIPTION
... ...
\end{verbatim} \end{verbatim}
\file{pydoc} also includes a Tk-based interactive help browser.
\file{pydoc} quickly becomes addictive; try it out! \file{pydoc} quickly becomes addictive; try it out!
\item Two different modules for unit testing were added to the \item Two different modules for unit testing were added to the
...@@ -719,6 +721,11 @@ unsuitable for your application or network setup, call ...@@ -719,6 +721,11 @@ unsuitable for your application or network setup, call
\item Support for raw socket access has been added to the \item Support for raw socket access has been added to the
\module{socket} module, contributed by Grant Edwards. \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})}, \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. 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; \function{sys._getframe()} returns the frame at the top of the call stack;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment