summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-05-31 19:58:02 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2002-05-31 19:58:02 +0000
commitfff9e8d7bb50c4daf8f7bb5a94d57ba91b7a67fa (patch)
tree70fde356706d0285ba4a3ceceb195ead70225517 /Objects/stringobject.c
parentc9183bd182e9e748d86610e6c8c18b81caa7cbed (diff)
downloadcpython-fff9e8d7bb50c4daf8f7bb5a94d57ba91b7a67fa.tar.gz
Change name from string to basestring
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 27b3af4de1..89e414af47 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -2859,17 +2859,17 @@ static PyObject *
basestring_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
PyErr_SetString(PyExc_TypeError,
- "The string type cannot be instantiated");
+ "The basestring type cannot be instantiated");
return NULL;
}
static char basestring_doc[] =
-"Type string cannot be instantiated; it is the base for str and unicode.";
+"Type basestring cannot be instantiated; it is the base for str and unicode.";
PyTypeObject PyBaseString_Type = {
PyObject_HEAD_INIT(&PyType_Type)
0,
- "string",
+ "basestring",
0,
0,
0, /* tp_dealloc */