summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_headers.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/command/install_headers.py')
-rw-r--r--Lib/distutils/command/install_headers.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/distutils/command/install_headers.py b/Lib/distutils/command/install_headers.py
index 495d150..957ed23 100644
--- a/Lib/distutils/command/install_headers.py
+++ b/Lib/distutils/command/install_headers.py
@@ -3,8 +3,6 @@
Implements the Distutils 'install_headers' command, to install C/C++ header
files to the Python include directory."""
-# created 2000/05/26, Greg Ward
-
__revision__ = "$Id$"
import os
n class="hl opt">{funcdesc} \begin{funcdesc}{extract_tb}{traceback\optional{\, limit}} Return a list of up to \var{limit} ``pre-processed'' stack trace entries extracted from \var{traceback}. It is useful for alternate formatting of stack traces. If \var{limit} is omitted or \code{None}, all entries are extracted. A ``pre-processed'' stack trace entry is a quadruple (\var{filename}, \var{line number}, \var{function name}, \var{line text}) representing the information that is usually printed for a stack trace. The \var{line text} is a string with leading and trailing whitespace stripped; if the source is not available it is \code{None}. \end{funcdesc} \begin{funcdesc}{print_exception}{type\, value\, traceback\optional{\, limit}} Print exception information and up to \var{limit} stack trace entries from \var{traceback}. This differs from \code{print_tb} in the following ways: (1) if \var{traceback} is not \code{None}, it prints a header ``\code{Traceback (innermost last):}''; (2) it prints the exception \var{type} and \var{value} after the stack trace; (3) if \var{type} is \code{SyntaxError} and \var{value} has the appropriate format, it prints the line where the syntax error occurred with a caret indication the approximate position of the error. \end{funcdesc} \begin{funcdesc}{print_exc}{\optional{limit}} This is a shorthand for \code{print_exception(sys.exc_type,} \code{sys.exc_value,} \code{sys.exc_traceback,} \code{limit)}. \end{funcdesc} \begin{funcdesc}{print_last}{\optional{limit}} This is a shorthand for \code{print_exception(sys.last_type,} \code{sys.last_value,} \code{sys.last_traceback,} \code{limit)}. \end{funcdesc}