From 9fd5e9a6953fe74c6a9c7966655b056d721441ca Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 6 Sep 2004 23:02:37 +0000 Subject: Remove redunandant assertions from last checkin. --- Modules/binascii.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Modules/binascii.c b/Modules/binascii.c index a374dc7..bfb393f 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -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) { -- cgit v0.12