summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-09-06 23:02:37 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-09-06 23:02:37 (GMT)
commit9fd5e9a6953fe74c6a9c7966655b056d721441ca (patch)
tree336488d0aac7b13d3adebead21f04f028f5ce793 /Modules
parent658717ed117c8002d084359a3ad2f88ca7df8c99 (diff)
downloadcpython-9fd5e9a6953fe74c6a9c7966655b056d721441ca.zip
cpython-9fd5e9a6953fe74c6a9c7966655b056d721441ca.tar.gz
cpython-9fd5e9a6953fe74c6a9c7966655b056d721441ca.tar.bz2
Remove redunandant assertions from last checkin.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/binascii.c9
1 files changed, 0 insertions, 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) {