summaryrefslogtreecommitdiff
path: root/Doc/lib/libinspect.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-20 04:24:09 +0000
committerFred Drake <fdrake@acm.org>2001-10-20 04:24:09 +0000
commit0aa811c527372fbee0e20192bba3cf343a744e08 (patch)
treeab0d86073c96b664d6b9d87ea84cdb8cdb263755 /Doc/lib/libinspect.tex
parent64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9 (diff)
downloadcpython-git-0aa811c527372fbee0e20192bba3cf343a744e08.tar.gz
Use the \note and \warning macros where appropriate.
Diffstat (limited to 'Doc/lib/libinspect.tex')
-rw-r--r--Doc/lib/libinspect.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libinspect.tex b/Doc/lib/libinspect.tex
index d554843829..1283cdd0e3 100644
--- a/Doc/lib/libinspect.tex
+++ b/Doc/lib/libinspect.tex
@@ -272,7 +272,7 @@ line within that list.
The optional \var{context} argument specifies the number of lines of
context to return, which are centered around the current line.
-\strong{Warning:} Keeping references to frame objects, as found in
+\warning{Keeping references to frame objects, as found in
the first element of the frame records these functions return, can
cause your program to create reference cycles. Once a reference cycle
has been created, the lifespan of all objects which can be accessed
@@ -280,7 +280,7 @@ from the objects which form the cycle can become much longer even if
Python's optional cycle detector is enabled. If such cycles must be
created, it is important to ensure they are explicitly broken to avoid
the delayed destruction of objects and increased memory consumption
-which occurs.
+which occurs.}
\begin{funcdesc}{getframeinfo}{frame\optional{, context}}
Get information about a frame or traceback object. A 5-tuple