[Python-checkins] CVS: python/dist/src/Doc/ref ref5.tex,1.38,1.39
Fred L. Drake
python-dev@python.org
Wed, 6 Dec 2000 20:54:05 -0800
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory slayer.i.sourceforge.net:/tmp/cvs-serv12032/ref
Modified Files:
ref5.tex
Log Message:
Fix error noted by Gerrit Holl (old; had been buried in my INBOX):
sequence repitition works just fine with long integers now, so we
should not say that only plain integers are allowed.
Index: ref5.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref5.tex,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** ref5.tex 2000/09/19 18:10:05 1.38
--- ref5.tex 2000/12/07 04:54:02 1.39
***************
*** 569,575 ****
The \code{*} (multiplication) operator yields the product of its
arguments. The arguments must either both be numbers, or one argument
! must be a plain integer and the other must be a sequence. In the
! former case, the numbers are converted to a common type and then
! multiplied together. In the latter case, sequence repetition is
performed; a negative repetition factor yields an empty sequence.
\index{multiplication}
--- 569,575 ----
The \code{*} (multiplication) operator yields the product of its
arguments. The arguments must either both be numbers, or one argument
! must be an integer (plain or long) and the other must be a sequence.
! In the former case, the numbers are converted to a common type and
! then multiplied together. In the latter case, sequence repetition is
performed; a negative repetition factor yields an empty sequence.
\index{multiplication}