[Python-checkins] r75657 - python/trunk/Modules/_io/stringio.c

antoine.pitrou python-checkins at python.org
Sat Oct 24 14:41:27 CEST 2009


Author: antoine.pitrou
Date: Sat Oct 24 14:41:27 2009
New Revision: 75657

Log:
Fix compilation error in debug mode.



Modified:
   python/trunk/Modules/_io/stringio.c

Modified: python/trunk/Modules/_io/stringio.c
==============================================================================
--- python/trunk/Modules/_io/stringio.c	(original)
+++ python/trunk/Modules/_io/stringio.c	Sat Oct 24 14:41:27 2009
@@ -583,9 +583,6 @@
     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)


More information about the Python-checkins mailing list