diff options
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r-- | Objects/stringobject.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 78560de..037fa6a 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -1620,10 +1620,6 @@ string_join(PyStringObject *self, PyObject *orig) seq = PySequence_Fast(orig, ""); if (seq == NULL) { - if (PyErr_ExceptionMatches(PyExc_TypeError)) - PyErr_Format(PyExc_TypeError, - "sequence expected, %.80s found", - orig->ob_type->tp_name); return NULL; } |