mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
SF bug #952866: "can't multiply sequence *by* non-int"
Minor wording fix.
This commit is contained in:
parent
0e371f2cb6
commit
10c660673e
1 changed files with 1 additions and 1 deletions
|
|
@ -636,7 +636,7 @@ sequence_repeat(intargfunc repeatfunc, PyObject *seq, PyObject *n)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return type_error(
|
return type_error(
|
||||||
"can't multiply sequence to non-int");
|
"can't multiply sequence by non-int");
|
||||||
}
|
}
|
||||||
#if LONG_MAX != INT_MAX
|
#if LONG_MAX != INT_MAX
|
||||||
if (count > INT_MAX) {
|
if (count > INT_MAX) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue