[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.131,1.132
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Sat, 10 May 2003 12:46:42 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv19321
Modified Files:
libfuncs.tex
Log Message:
- object is a class type, not a function
- when marking a function, the trailing () should be included
consistently
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.131
retrieving revision 1.132
diff -C2 -d -r1.131 -r1.132
*** libfuncs.tex 10 May 2003 07:40:56 -0000 1.131
--- libfuncs.tex 10 May 2003 19:46:39 -0000 1.132
***************
*** 307,311 ****
\function{enumerate()} returns a tuple containing a count (from
zero) and the corresponding value obtained from iterating over
! \var{iterable}. \function{enumerate} is useful for obtaining an
indexed series: \code{(0, seq[0])}, \code{(1, seq[1])}, \code{(2,
seq[2])}, \ldots.
--- 307,311 ----
\function{enumerate()} returns a tuple containing a count (from
zero) and the corresponding value obtained from iterating over
! \var{iterable}. \function{enumerate()} is useful for obtaining an
indexed series: \code{(0, seq[0])}, \code{(1, seq[1])}, \code{(2,
seq[2])}, \ldots.
***************
*** 712,718 ****
\end{funcdesc}
! \begin{funcdesc}{property}{\optional{fget\optional{, fset\optional{, fdel\optional{, doc}}}}}
Return a property attribute for new-style classes (classes that
! derive from \function{object}).
\var{fget} is a function for getting an attribute value, likewise
--- 712,719 ----
\end{funcdesc}
! \begin{funcdesc}{property}{\optional{fget\optional{, fset\optional{,
! fdel\optional{, doc}}}}}
Return a property attribute for new-style classes (classes that
! derive from \class{object}).
\var{fget} is a function for getting an attribute value, likewise