From: Fred Drake Date: Thu, 7 Dec 2000 04:54:02 +0000 (+0000) Subject: Fix error noted by Gerrit Holl (old; had been buried in my INBOX): X-Git-Tag: v2.1a1~650 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3b18d7ca8e0b47c67d7d73b75c20a25eda6041f;p=python 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. --- diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 46fdd6d35d..a7e635153a 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -568,9 +568,9 @@ a_expr: m_expr | aexpr "+" m_expr | aexpr "-" m_expr 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 +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}