diff Modules/cStringIO.c @ 30125:4b46d5449d49 legacy-trunk

shit - just change the visible name, not the comments - strictly speaking, the tp_name is not correct, but what's exposed to users is known visibly as "StringIO", not "StringI" or "StringO".
author Skip Montanaro <skip@pobox.com>
date Mon, 11 Aug 2003 13:15:11 +0000
parents 29032f37dc8f
children 6842ceb39a14
line wrap: on
line diff
--- a/Modules/cStringIO.c	Mon Aug 11 13:09:12 2003 +0000
+++ b/Modules/cStringIO.c	Mon Aug 11 13:15:11 2003 +0000
@@ -52,7 +52,7 @@
 
 #define IOOOBJECT(O) ((IOobject*)(O))
 
-/* Declarations for objects of type StringIO */
+/* Declarations for objects of type StringO */
 
 typedef struct { /* Subtype of IOobject */
   PyObject_HEAD
@@ -540,7 +540,7 @@
         return (PyObject*)self;
 }
 
-/* End of code for StringIO objects */
+/* End of code for StringO objects */
 /* -------------------------------------------------------- */
 
 static PyObject *
@@ -605,7 +605,7 @@
 static PyTypeObject Itype = {
   PyObject_HEAD_INIT(NULL)
   0,					/*ob_size*/
-  "cStringIO.StringI",			/*tp_name*/
+  "cStringIO.StringIO",			/*tp_name*/
   sizeof(Iobject),			/*tp_basicsize*/
   0,					/*tp_itemsize*/
   /* methods */