summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref3.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-20 04:24:09 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-20 04:24:09 (GMT)
commit0aa811c527372fbee0e20192bba3cf343a744e08 (patch)
treeab0d86073c96b664d6b9d87ea84cdb8cdb263755 /Doc/ref/ref3.tex
parent64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9 (diff)
downloadcpython-0aa811c527372fbee0e20192bba3cf343a744e08.zip
cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.gz
cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.bz2
Use the \note and \warning macros where appropriate.
Diffstat (limited to 'Doc/ref/ref3.tex')
-rw-r--r--Doc/ref/ref3.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex
index 32b6de4..c8edde5 100644
--- a/Doc/ref/ref3.tex
+++ b/Doc/ref/ref3.tex
@@ -935,7 +935,7 @@ situation can only be remedied by explicitly breaking the cycles; the
latter two situations can be resolved by storing None in
\code{sys.exc_traceback} or \code{sys.last_traceback}.
-\strong{Warning:} due to the precarious circumstances under which
+\warning{Due to the precarious circumstances under which
\method{__del__()} methods are invoked, exceptions that occur during their
execution are ignored, and a warning is printed to \code{sys.stderr}
instead. Also, when \method{__del__()} is invoked is response to a module
@@ -947,7 +947,7 @@ guarantees that globals whose name begins with a single underscore are
deleted from their module before other globals are deleted; if no
other references to such globals exist, this may help in assuring that
imported modules are still available at the time when the
-\method{__del__()} method is called.
+\method{__del__()} method is called.}
\end{methoddesc}
\begin{methoddesc}[object]{__repr__}{self}
@@ -1198,9 +1198,9 @@ If \var{key} is of an inappropriate type, \exception{TypeError} may be
raised; if of a value outside the set of indexes for the sequence
(after any special interpretation of negative values),
\exception{IndexError} should be raised.
-\strong{Note:} \keyword{for} loops expect that an
+\note{\keyword{for} loops expect that an
\exception{IndexError} will be raised for illegal indexes to allow
-proper detection of the end of the sequence.
+proper detection of the end of the sequence.}
\end{methoddesc}
\begin{methoddesc}[container object]{__setitem__}{self, key, value}