[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex,1.89,1.90
fdrake@sourceforge.net
fdrake@sourceforge.net
Wed, 01 May 2002 22:56:07 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv19805/lib
Modified Files:
libstdtypes.tex
Log Message:
Correct information on support for repietition & concatenation for buffer
and xrange objects.
This closes SF bug #550555.
Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** libstdtypes.tex 30 Apr 2002 14:54:47 -0000 1.89
--- libstdtypes.tex 2 May 2002 05:56:04 -0000 1.90
***************
*** 394,406 ****
Buffer objects are not directly supported by Python syntax, but can be
created by calling the builtin function
! \function{buffer()}.\bifuncindex{buffer}. They don't support
! concatenation or repetition.
\obindex{buffer}
Xrange objects are similar to buffers in that there is no specific
! syntax to create them, but they are created using the \function{xrange()}
! function.\bifuncindex{xrange} They don't support slicing,
! concatenation or repetition, and using \code{in}, \code{not in},
! \function{min()} or \function{max()} on them is inefficient.
\obindex{xrange}
--- 394,408 ----
Buffer objects are not directly supported by Python syntax, but can be
created by calling the builtin function
! \function{buffer()}.\bifuncindex{buffer}. They support
! concatenation and repetition, but the result is a new string object
! rather than a new buffer object.
\obindex{buffer}
Xrange objects are similar to buffers in that there is no specific
! syntax to create them, but they are created using the
! \function{xrange()} function.\bifuncindex{xrange} They don't support
! slicing or concatenation, but do support repetition, and using
! \code{in}, \code{not in}, \function{min()} or \function{max()} on them
! is inefficient.
\obindex{xrange}