summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsys.tex
diff options
context:
space:
mode:
authorMoshe Zadka <moshez@math.huji.ac.il>2001-01-11 05:41:27 (GMT)
committerMoshe Zadka <moshez@math.huji.ac.il>2001-01-11 05:41:27 (GMT)
commitf68f2fec7df1224a031c3feed8a0ef6028cfcddd (patch)
tree575eb2afba4c192fcb8d272906afdf203ed23946 /Doc/lib/libsys.tex
parent5ac97957f72d42d5bc3ec658b4321cc207cb038e (diff)
downloadcpython-f68f2fec7df1224a031c3feed8a0ef6028cfcddd.zip
cpython-f68f2fec7df1224a031c3feed8a0ef6028cfcddd.tar.gz
cpython-f68f2fec7df1224a031c3feed8a0ef6028cfcddd.tar.bz2
Implementation of PEP-0217.
This closes the PEP, and patch 103170
Diffstat (limited to 'Doc/lib/libsys.tex')
-rw-r--r--Doc/lib/libsys.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex
index 2fda26e..df32182 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