Commit 7e957d38 authored by Neal Norwitz's avatar Neal Norwitz

Remove dead code (reported by HP compiler).

Can probably be backported if anyone cares.
parent ffb0d90a
......@@ -1952,17 +1952,14 @@ do_argstrip(PyStringObject *self, int striptype, PyObject *args)
return res;
}
#endif
else {
PyErr_Format(PyExc_TypeError,
PyErr_Format(PyExc_TypeError,
#ifdef Py_USING_UNICODE
"%s arg must be None, str or unicode",
"%s arg must be None, str or unicode",
#else
"%s arg must be None or str",
"%s arg must be None or str",
#endif
STRIPNAME(striptype));
return NULL;
}
return do_xstrip(self, striptype, sep);
STRIPNAME(striptype));
return NULL;
}
return do_strip(self, striptype);
......
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