diff options
-rw-r--r-- | Modules/socketmodule.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 9cc317f..7add6b6 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -2864,7 +2864,6 @@ sock_recvfrom_into(PySocketSockObject *s, PyObject *args, PyObject* kwds) return NULL; buf = pbuf.buf; buflen = pbuf.len; - assert(buf != 0 && buflen > 0); if (recvlen < 0) { PyBuffer_Release(&pbuf); |