Change name from string to basestring

This commit is contained in:
Neal Norwitz 2002-05-31 19:58:02 +00:00
parent 9b414ac93e
commit 32a7e7f6b6
3 changed files with 6 additions and 6 deletions

View file

@ -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 */