diff options
author | Michael W. Hudson <mwh@python.net> | 2002-08-15 14:59:02 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-08-15 14:59:02 (GMT) |
commit | dd32a91cc0c8ba178d7ee5e78c30b6920aff66f4 (patch) | |
tree | 1a2062b54d3445ca788fd63c2bc63984dd85f34a /Doc/lib/libtraceback.tex | |
parent | add88060c1d1a98c7970e35b326e6a65a17ddf04 (diff) | |
download | cpython-dd32a91cc0c8ba178d7ee5e78c30b6920aff66f4.zip cpython-dd32a91cc0c8ba178d7ee5e78c30b6920aff66f4.tar.gz cpython-dd32a91cc0c8ba178d7ee5e78c30b6920aff66f4.tar.bz2 |
This is my patch
[ 587993 ] SET_LINENO killer
Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab.
Many sundry changes to document and adapt to this change.
Diffstat (limited to 'Doc/lib/libtraceback.tex')
-rw-r--r-- | Doc/lib/libtraceback.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libtraceback.tex b/Doc/lib/libtraceback.tex index 2b20b0c..a74613b 100644 --- a/Doc/lib/libtraceback.tex +++ b/Doc/lib/libtraceback.tex @@ -118,10 +118,10 @@ A shorthand for \code{format_list(extract_stack(\var{f}, \var{limit}))}. \begin{funcdesc}{tb_lineno}{tb} This function returns the current line number set in the traceback -object. This is normally the same as the \code{\var{tb}.tb_lineno} -field of the object, but when optimization is used (the -O flag) this -field is not updated correctly; this function calculates the correct -value. +object. This function was necessary because in versions of Python +prior to 2.3 when the \programopt{O} flag was passed to Python the +\code{\var{tb}.tb_lineno} was not updated correctly. This function +has no use in versions past 2.3. \end{funcdesc} |