From 5316ef4bbb5c214fdccb83c93dcafb8bbf4d754f Mon Sep 17 00:00:00 2001
From: Fred Drake <fdrake@acm.org>
Date: Sun, 17 Sep 2000 16:10:25 +0000
Subject: Added documentation for new functions. Deprecated sequenceIncludes().

Based on patch by Denis S. Otkidach <ods@users.sourceforge.net>,
this closes SourceForge patch #101390.
---
 Doc/lib/liboperator.tex | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex
index 608f101..9cf25a0 100644
--- a/Doc/lib/liboperator.tex
+++ b/Doc/lib/liboperator.tex
@@ -56,7 +56,9 @@ Return the absolute value of \var{o}.
 
 \begin{funcdesc}{inv}{o}
 \funcline{__inv__}{o}
-Return the inverse of \var{o}.
+\funcline{__invert__}{o}
+Return the inverse of \var{o}.  The names \function{invert()} and
+\function{__invert__()} were added in Python 2.0.
 \end{funcdesc}
 
 \begin{funcdesc}{lshift}{a, b}
@@ -107,9 +109,15 @@ Return \var{a} \code{*} \var{b} where \var{a} is a sequence and
 \end{funcdesc}
 
 \begin{funcdesc}{contains}{a, b}
-\funcline{sequenceIncludes}{a, b}
+\funcline{__contains__}{a, b}
 Return the outcome of the test \var{b} \code{in} \var{a}.
-Note the reversed operands.
+Note the reversed operands.  The name \function{__contains__()} was
+added in Python 2.0.
+\end{funcdesc}
+
+\begin{funcdesc}{sequenceIncludes}{\unspecified}
+\deprecated{2.0}{Use \function{contains()} instead.}
+Alias for \function{contains()}.
 \end{funcdesc}
 
 \begin{funcdesc}{countOf}{a, b}
-- 
cgit v0.12

