SF bug #952866: "can't multiply sequence *by* non-int"

Minor wording fix.
This commit is contained in:
Raymond Hettinger 2004-05-12 21:35:06 +00:00
parent 0e371f2cb6
commit 10c660673e

View file

@ -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) {