[Python-checkins] python/dist/src/Doc/lib libcollections.tex, 1.10, 1.11

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Fri Mar 18 22:20:51 CET 2005


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27128/Doc/lib

Modified Files:
	libcollections.tex 
Log Message:
Add a remove() method to collections.deque objects.

Index: libcollections.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcollections.tex,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- libcollections.tex	12 Jun 2004 07:59:40 -0000	1.10
+++ libcollections.tex	18 Mar 2005 21:20:18 -0000	1.11
@@ -64,6 +64,12 @@
    If no elements are present, raises a \exception{IndexError}.   
 \end{methoddesc}
 
+\begin{methoddesc}{remove}{value}
+   Removed the first occurrence of \var{value}.  If not found,
+   raises a \exception{ValueError}.
+   \versionadded{2.5}
+\end{methoddesc}
+
 \begin{methoddesc}{rotate}{n}
    Rotate the deque \var{n} steps to the right.  If \var{n} is
    negative, rotate to the left.  Rotating one step to the right



More information about the Python-checkins mailing list