Commit 0a2131f9 authored by Neal Norwitz's avatar Neal Norwitz

Remove dead code (reported by HP compiler).

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