diff options
author | Skip Montanaro <skip@pobox.com> | 2003-08-11 13:15:11 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2003-08-11 13:15:11 (GMT) |
commit | e138828d0360da3782ce56ba8161b45d1505252f (patch) | |
tree | fe260bf5d3ea0897f9792e3529bbb965e0f800f9 | |
parent | 4a0d3d2e40667c71e00a0b9db594241257beca30 (diff) | |
download | cpython-e138828d0360da3782ce56ba8161b45d1505252f.zip cpython-e138828d0360da3782ce56ba8161b45d1505252f.tar.gz cpython-e138828d0360da3782ce56ba8161b45d1505252f.tar.bz2 |
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".
-rw-r--r-- | Modules/cStringIO.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/cStringIO.c b/Modules/cStringIO.c index 7e8874b..ae2e976 100644 --- a/Modules/cStringIO.c +++ b/Modules/cStringIO.c @@ -52,7 +52,7 @@ typedef struct { #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 @@ newOobject(int size) { return (PyObject*)self; } -/* End of code for StringIO objects */ +/* End of code for StringO objects */ /* -------------------------------------------------------- */ static PyObject * @@ -605,7 +605,7 @@ PyDoc_STRVAR(Itype__doc__, 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 */ |