summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 82410d5..e24866c 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1040,10 +1040,6 @@ mul(v, w)
"can't multiply sequence with non-int");
return NULL;
}
- if (tp->tp_as_sequence->sq_repeat == NULL) {
- err_setstr(TypeError, "sequence does not support *");
- return NULL;
- }
return (*tp->tp_as_sequence->sq_repeat)
(v, (int)getintvalue(w));
}