Remove redunandant assertions from last checkin.

This commit is contained in:
Raymond Hettinger 2004-09-06 23:02:37 +00:00
parent 658717ed11
commit 9fd5e9a695

View File

@ -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) {