[Python-checkins] CVS: python/dist/src/Doc/lib libsys.tex,1.43,1.44
Moshe Zadka
python-dev@python.org
Wed, 10 Jan 2001 21:41:29 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv21213/Doc/lib
Modified Files:
libsys.tex
Log Message:
Implementation of PEP-0217.
This closes the PEP, and patch 103170
Index: libsys.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsys.tex,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** libsys.tex 2000/12/06 21:47:46 1.43
--- libsys.tex 2001/01/11 05:41:27 1.44
***************
*** 45,48 ****
--- 45,57 ----
\end{datadesc}
+ \begin{funcdesc}{displayhook}{\var{value}}
+ If \var{value} is not \code{None}, this function prints it to
+ \code{sys.stdout}, and saves it in \code{__builtin__._}.
+
+ This function is called when an expression is entered at the prompt
+ of an interactive Python session. It exists mainly so it can be
+ overridden.
+ \end{funcdesc}
+
\begin{funcdesc}{exc_info}{}
This function returns a tuple of three values that give information