summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
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 */