Kaydet (Commit) 10c66067 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

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

Minor wording fix.
üst 0e371f2c
...@@ -636,7 +636,7 @@ sequence_repeat(intargfunc repeatfunc, PyObject *seq, PyObject *n) ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment