summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/liboperator.tex10
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex
index f3f0980..7bd66ea 100644
--- a/Doc/lib/liboperator.tex
+++ b/Doc/lib/liboperator.tex
@@ -48,7 +48,7 @@ for more informations about rich comparisons.
The logical operations are also generally applicable to all objects,
-and support truth tests and Boolean operations:
+and support truth tests, identity tests, and Boolean operations:
\begin{funcdesc}{not_}{o}
\funcline{__not__}{o}
@@ -64,6 +64,14 @@ otherwise. This is equivalent to using the \class{bool}
constructor.
\end{funcdesc}
+\begin{funcdesc}{is_}{a, b}
+Return \code{\var{a} is \var{b}}. Tests object identity.
+\end{funcdesc}
+
+\begin{funcdesc}{is_not}{a, b}
+Return \code{\var{a} is not \var{b}}. Tests object identity.
+\end{funcdesc}
+
The mathematical and bitwise operations are the most numerous: