[Python-checkins] r55777 - python/branches/cpy_merge/Modules/_string_iomodule.c

alexandre.vassalotti python-checkins at python.org
Tue Jun 5 22:01:35 CEST 2007


Author: alexandre.vassalotti
Date: Tue Jun  5 22:01:31 2007
New Revision: 55777

Modified:
   python/branches/cpy_merge/Modules/_string_iomodule.c
Log:
Fix variable name in assertion.


Modified: python/branches/cpy_merge/Modules/_string_iomodule.c
==============================================================================
--- python/branches/cpy_merge/Modules/_string_iomodule.c	(original)
+++ python/branches/cpy_merge/Modules/_string_iomodule.c	Tue Jun  5 22:01:31 2007
@@ -47,7 +47,7 @@
     *output = self->buf + self->pos;
 
     assert(self->pos + len < PY_SSIZE_T_MAX);
-    assert(l >= 0);
+    assert(len >= 0);
     self->pos += len;
 
     return len;


More information about the Python-checkins mailing list