Use the \note and \warning macros where appropriate.

This commit is contained in:
Fred Drake 2001-10-20 04:24:09 +00:00
parent 64a5aaf05c
commit 0aa811c527
45 changed files with 156 additions and 163 deletions

View file

@ -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