diff Objects/stringobject.c @ 23597:ed007e47b3a1 legacy-trunk

Change name from string to basestring
author Neal Norwitz <nnorwitz@gmail.com>
date Fri, 31 May 2002 19:58:02 +0000
parents 220b98f06415
children 245224d1b8c9
line wrap: on
line diff
--- a/Objects/stringobject.c	Fri May 31 18:21:56 2002 +0000
+++ b/Objects/stringobject.c	Fri May 31 19:58:02 2002 +0000
@@ -2859,17 +2859,17 @@
 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 */