Commit 2e5f8a0f authored by Skip Montanaro's avatar Skip Montanaro

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".
parent 0c1415c0
...@@ -52,7 +52,7 @@ typedef struct { ...@@ -52,7 +52,7 @@ typedef struct {
#define IOOOBJECT(O) ((IOobject*)(O)) #define IOOOBJECT(O) ((IOobject*)(O))
/* Declarations for objects of type StringIO */ /* Declarations for objects of type StringO */
typedef struct { /* Subtype of IOobject */ typedef struct { /* Subtype of IOobject */
PyObject_HEAD PyObject_HEAD
...@@ -540,7 +540,7 @@ newOobject(int size) { ...@@ -540,7 +540,7 @@ newOobject(int size) {
return (PyObject*)self; return (PyObject*)self;
} }
/* End of code for StringIO objects */ /* End of code for StringO objects */
/* -------------------------------------------------------- */ /* -------------------------------------------------------- */
static PyObject * static PyObject *
...@@ -605,7 +605,7 @@ PyDoc_STRVAR(Itype__doc__, ...@@ -605,7 +605,7 @@ PyDoc_STRVAR(Itype__doc__,
static PyTypeObject Itype = { static PyTypeObject Itype = {
PyObject_HEAD_INIT(NULL) PyObject_HEAD_INIT(NULL)
0, /*ob_size*/ 0, /*ob_size*/
"cStringIO.StringI", /*tp_name*/ "cStringIO.StringIO", /*tp_name*/
sizeof(Iobject), /*tp_basicsize*/ sizeof(Iobject), /*tp_basicsize*/
0, /*tp_itemsize*/ 0, /*tp_itemsize*/
/* methods */ /* methods */
......
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