From f68f2fec7df1224a031c3feed8a0ef6028cfcddd Mon Sep 17 00:00:00 2001 From: Moshe Zadka Date: Thu, 11 Jan 2001 05:41:27 +0000 Subject: Implementation of PEP-0217. This closes the PEP, and patch 103170 --- Doc/lib/libsys.tex | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Doc/lib/libsys.tex') diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index 2fda26e429..df32182e66 100644 --- a/Doc/lib/libsys.tex +++ b/Doc/lib/libsys.tex @@ -44,6 +44,15 @@ Integer specifying the handle of the Python DLL. Availability: Windows. \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 about the exception that is currently being handled. The information -- cgit v1.2.1