[Python-checkins] CVS: python/dist/src/Doc/lib libfuncs.tex,1.67,1.68
Fred L. Drake
python-dev@python.org
Thu, 3 Aug 2000 10:29:18 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv26885/lib
Modified Files:
libfuncs.tex
Log Message:
int() description: Fix markup to avoid image generation for math mode.
zip() description: Fix broken markup, three small markup consistency nits,
and one really minor usage nit. Introduce use of \moreargs instead
of hardcoding "..." with \optional.
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.67
retrieving revision 1.68
diff -C2 -r1.67 -r1.68
*** libfuncs.tex 2000/08/03 15:46:17 1.67
--- libfuncs.tex 2000/08/03 17:29:13 1.68
***************
*** 320,324 ****
this behaves identical to \code{string.atoi(\var{x}\optional{,
\var{radix}})}. The \var{radix} parameter gives the base for the
! conversion and may be any integer in the range $[2, 36]$. If
\var{radix} is specified and \var{x} is not a string,
\exception{TypeError} is raised.
--- 320,324 ----
this behaves identical to \code{string.atoi(\var{x}\optional{,
\var{radix}})}. The \var{radix} parameter gives the base for the
! conversion and may be any integer in the range [2, 36]. If
\var{radix} is specified and \var{x} is not a string,
\exception{TypeError} is raised.
***************
*** 705,714 ****
\end{funcdesc}
! \begin{funcdesc}{zip}{seq1\optional{, seq2\optional{, ...}}}
This function returns a list of tuples, where each tuple contains the
! i-th element from each of the argument sequences. At least one
sequence is required, otherwise a \exception{TypeError} is raised.
The returned list is truncated in length to the length of the shortest
argument sequence. When the argument sequences are all of the same
! length, \function{zip} is similar to \function{map} with an initial
! None argument.
--- 705,715 ----
\end{funcdesc}
! \begin{funcdesc}{zip}{seq1, \moreargs}
This function returns a list of tuples, where each tuple contains the
! \var{i}-th element from each of the argument sequences. At least one
sequence is required, otherwise a \exception{TypeError} is raised.
The returned list is truncated in length to the length of the shortest
argument sequence. When the argument sequences are all of the same
! length, \function{zip()} is similar to \function{map()} with an
! initial argument of \code{None}.
! \end{funcdesc}