summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-05-31 19:58:02 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-05-31 19:58:02 (GMT)
commit32a7e7f6b65bd64f28daccaf05e906f93f2ef77e (patch)
tree1d944c019e0ff8ea1eed8d98041a0d10f6488bb8 /Objects/stringobject.c
parent9b414ac93eb485a3123cf4dc33a253834c5d5e21 (diff)
downloadcpython-32a7e7f6b65bd64f28daccaf05e906f93f2ef77e.zip
cpython-32a7e7f6b65bd64f28daccaf05e906f93f2ef77e.tar.gz
cpython-32a7e7f6b65bd64f28daccaf05e906f93f2ef77e.tar.bz2
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 27b3af4..89e414a 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 */