Commit fe671470 authored by Raymond Hettinger's avatar Raymond Hettinger

Remove redunandant assertions from last checkin.

parent 40b9172d
......@@ -530,15 +530,6 @@ binascii_a2b_hqx(PyObject *self, PyObject *args)
Py_DECREF(rv);
return NULL;
}
assert(PyString_Check(rv));
assert((bin_data - (unsigned char *)PyString_AsString(rv)) >= 0);
assert(!PyString_CHECK_INTERNED(rv));
assert(rv->ob_refcnt == 1);
_PyString_Resize(
&rv, (bin_data - (unsigned char *)PyString_AsString(rv)));
if (rv) {
......
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