Commit 5e9f6676 authored by Antoine Pitrou's avatar Antoine Pitrou

Fix compilation error in debug mode.

parent f7820c16
......@@ -583,9 +583,6 @@ stringio_init(stringio *self, PyObject *args, PyObject *kwds)
Py_CLEAR(self->writenl);
Py_CLEAR(self->decoder);
assert((newline != NULL && newline_obj != Py_None) ||
(newline == NULL && newline_obj == Py_None));
if (newline) {
self->readnl = PyString_FromString(newline);
if (self->readnl == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment