[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.140,1.141 libgettext.tex,1.18,1.19 libmsvcrt.tex,1.4,1.5
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed, 02 Jul 2003 05:27:45 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv13911/lib
Modified Files:
libfuncs.tex libgettext.tex libmsvcrt.tex
Log Message:
Fix a variety of small markup nits.
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.140
retrieving revision 1.141
diff -C2 -d -r1.140 -r1.141
*** libfuncs.tex 1 Jul 2003 16:31:26 -0000 1.140
--- libfuncs.tex 2 Jul 2003 12:27:43 -0000 1.141
***************
*** 142,146 ****
object is passed as the implied first argument.
! Class methods are different than C++ or Java static methods.
If you want those, see \function{staticmethod()} in this section.
\versionadded{2.2}
--- 142,146 ----
object is passed as the implied first argument.
! Class methods are different than \Cpp{} or Java static methods.
If you want those, see \function{staticmethod()} in this section.
\versionadded{2.2}
***************
*** 447,454 ****
(zero or empty) are removed.
! Note that \code{filter(function, list)} equals
! \code{[item for item in list if function(item)]} if function is not
! \code{None} and \code{[item for item in list if item]} if function is
! None.
\end{funcdesc}
--- 447,454 ----
(zero or empty) are removed.
! Note that \code{filter(function, \var{list})} is equivalent to
! \code{[item for item in \var{list} if function(item)]} if function is
! not \code{None} and \code{[item for item in \var{list} if item]} if
! function is \code{None}.
\end{funcdesc}
***************
*** 891,895 ****
Return a slice object representing the set of indices specified by
\code{range(\var{start}, \var{stop}, \var{step})}. The \var{start}
! and \var{step} arguments default to None. Slice objects have
read-only data attributes \member{start}, \member{stop} and
\member{step} which merely return the argument values (or their
--- 891,895 ----
Return a slice object representing the set of indices specified by
\code{range(\var{start}, \var{stop}, \var{step})}. The \var{start}
! and \var{step} arguments default to \code{None}. Slice objects have
read-only data attributes \member{start}, \member{stop} and
\member{step} which merely return the argument values (or their
***************
*** 929,933 ****
to be strings. The fast, correct way to concatenate sequence of
strings is by calling \code{''.join(\var{sequence})}.
! Note that \code{sum(range(n), m)} equals \code{reduce(operator.add, range(n), m)}
\versionadded{2.3}
\end{funcdesc}
--- 929,934 ----
to be strings. The fast, correct way to concatenate sequence of
strings is by calling \code{''.join(\var{sequence})}.
! Note that \code{sum(range(\var{n}), \var{m})} is equivalent to
! \code{reduce(operator.add, range(\var{n}), \var{m})}
\versionadded{2.3}
\end{funcdesc}
Index: libgettext.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libgettext.tex,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** libgettext.tex 24 Apr 2003 18:14:49 -0000 1.18
--- libgettext.tex 2 Jul 2003 12:27:43 -0000 1.19
***************
*** 447,451 ****
previously marked as translatable. It is similar to the GNU
\program{gettext} program except that it understands all the
! intricacies of Python source code, but knows nothing about C or C++
source code. You don't need GNU \code{gettext} unless you're also
going to be translating C code (such as C extension modules).
--- 447,451 ----
previously marked as translatable. It is similar to the GNU
\program{gettext} program except that it understands all the
! intricacies of Python source code, but knows nothing about C or \Cpp
source code. You don't need GNU \code{gettext} unless you're also
going to be translating C code (such as C extension modules).
Index: libmsvcrt.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libmsvcrt.tex,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** libmsvcrt.tex 14 Dec 2000 03:11:24 -0000 1.4
--- libmsvcrt.tex 2 Jul 2003 12:27:43 -0000 1.5
***************
*** 1,8 ****
\section{\module{msvcrt} --
! Useful routines from the MS VC++ runtime}
\declaremodule{builtin}{msvcrt}
\platform{Windows}
! \modulesynopsis{Miscellaneous useful routines from the MS VC++ runtime.}
\sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org}
--- 1,8 ----
\section{\module{msvcrt} --
! Useful routines from the MS V\Cpp{} runtime}
\declaremodule{builtin}{msvcrt}
\platform{Windows}
! \modulesynopsis{Miscellaneous useful routines from the MS V\Cpp{} runtime.}
\sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org}