mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Implementation of PEP-0217.
This closes the PEP, and patch 103170
This commit is contained in:
parent
5ac97957f7
commit
f68f2fec7d
3 changed files with 72 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue