summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/_io/stringio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/_io/stringio.c b/Modules/_io/stringio.c
index 0fc8078..a5bfd79 100644
--- a/Modules/_io/stringio.c
+++ b/Modules/_io/stringio.c
@@ -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)