diff options
author | Raymond Hettinger <python@rcn.com> | 2004-09-06 23:02:37 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-09-06 23:02:37 (GMT) |
commit | 9fd5e9a6953fe74c6a9c7966655b056d721441ca (patch) | |
tree | 336488d0aac7b13d3adebead21f04f028f5ce793 /Modules/binascii.c | |
parent | 658717ed117c8002d084359a3ad2f88ca7df8c99 (diff) | |
download | cpython-9fd5e9a6953fe74c6a9c7966655b056d721441ca.zip cpython-9fd5e9a6953fe74c6a9c7966655b056d721441ca.tar.gz cpython-9fd5e9a6953fe74c6a9c7966655b056d721441ca.tar.bz2 |
Remove redunandant assertions from last checkin.
Diffstat (limited to 'Modules/binascii.c')
-rw-r--r-- | Modules/binascii.c | 9 |
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) { |