mirror of https://github.com/python/cpython
SF bug #952866: "can't multiply sequence *by* non-int"
Minor wording fix.
This commit is contained in:
parent
0e371f2cb6
commit
10c660673e
|
@ -636,7 +636,7 @@ sequence_repeat(intargfunc repeatfunc, PyObject *seq, PyObject *n)
|
|||
}
|
||||
else {
|
||||
return type_error(
|
||||
"can't multiply sequence to non-int");
|
||||
"can't multiply sequence by non-int");
|
||||
}
|
||||
#if LONG_MAX != INT_MAX
|
||||
if (count > INT_MAX) {
|
||||
|
|
Loading…
Reference in New Issue