diff options
author | Fred Drake <fdrake@acm.org> | 2000-12-07 04:54:02 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-12-07 04:54:02 (GMT) |
commit | c3b18d7ca8e0b47c67d7d73b75c20a25eda6041f (patch) | |
tree | c2f6a85b863b2bc5882dfd81013a86cd5d9b2ec1 /Doc/ref/ref5.tex | |
parent | 0c4755935251c2231086fe6636ab2104b7a8edc6 (diff) | |
download | cpython-c3b18d7ca8e0b47c67d7d73b75c20a25eda6041f.zip cpython-c3b18d7ca8e0b47c67d7d73b75c20a25eda6041f.tar.gz cpython-c3b18d7ca8e0b47c67d7d73b75c20a25eda6041f.tar.bz2 |
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.
Diffstat (limited to 'Doc/ref/ref5.tex')
-rw-r--r-- | Doc/ref/ref5.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 46fdd6d..a7e6351 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} |