diff Doc/lib/liboperator.tex @ 20580:376ee174ecd0 legacy-trunk

Use the \note and \warning macros where appropriate.
author Fred Drake <fdrake@acm.org>
date Sat, 20 Oct 2001 04:24:09 +0000
parents 40a17d9500a8
children d797cfa8ca0d
line wrap: on
line diff
--- a/Doc/lib/liboperator.tex	Sat Oct 20 04:18:14 2001 +0000
+++ b/Doc/lib/liboperator.tex	Sat Oct 20 04:24:09 2001 +0000
@@ -220,9 +220,9 @@
 
 
 The \module{operator} module also defines a few predicates to test the
-type of objects.  \strong{Note:} Be careful not to misinterpret the
+type of objects.  \note{Be careful not to misinterpret the
 results of these functions; only \function{isCallable()} has any
-measure of reliability with instance objects.  For example:
+measure of reliability with instance objects.  For example:}
 
 \begin{verbatim}
 >>> class C:
@@ -245,28 +245,28 @@
 \begin{funcdesc}{isMappingType}{o}
 Returns true if the object \var{o} supports the mapping interface.
 This is true for dictionaries and all instance objects.
-\strong{Warning:} There is no reliable way to test if an instance
+\warning{There is no reliable way to test if an instance
 supports the complete mapping protocol since the interface itself is
 ill-defined.  This makes this test less useful than it otherwise might
-be.
+be.}
 \end{funcdesc}
 
 \begin{funcdesc}{isNumberType}{o}
 Returns true if the object \var{o} represents a number.  This is true
 for all numeric types implemented in C, and for all instance objects.
-\strong{Warning:}  There is no reliable way to test if an instance
+\warning{There is no reliable way to test if an instance
 supports the complete numeric interface since the interface itself is
 ill-defined.  This makes this test less useful than it otherwise might
-be.
+be.}
 \end{funcdesc}
 
 \begin{funcdesc}{isSequenceType}{o}
 Returns true if the object \var{o} supports the sequence protocol.
 This returns true for all objects which define sequence methods in C,
-and for all instance objects.  \strong{Warning:} There is no reliable
+and for all instance objects.  \warning{There is no reliable
 way to test if an instance supports the complete sequence interface
 since the interface itself is ill-defined.  This makes this test less
-useful than it otherwise might be.
+useful than it otherwise might be.}
 \end{funcdesc}