[Python-checkins] python/dist/src/Objects stringobject.c,2.164,2.165

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Fri, 31 May 2002 12:58:04 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv24025/Objects

Modified Files:
	stringobject.c 
Log Message:
Change name from string to basestring

Index: stringobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/stringobject.c,v
retrieving revision 2.164
retrieving revision 2.165
diff -C2 -d -r2.164 -r2.165
*** stringobject.c	24 May 2002 19:01:58 -0000	2.164
--- stringobject.c	31 May 2002 19:58:01 -0000	2.165
***************
*** 2860,2874 ****
  {
  	PyErr_SetString(PyExc_TypeError,
! 			"The string type cannot be instantiated");
  	return NULL;
  }
  
  static char basestring_doc[] =
! "Type string cannot be instantiated; it is the base for str and unicode.";
  
  PyTypeObject PyBaseString_Type = {
  	PyObject_HEAD_INIT(&PyType_Type)
  	0,
! 	"string",
  	0,
  	0,
--- 2860,2874 ----
  {
  	PyErr_SetString(PyExc_TypeError,
! 			"The basestring type cannot be instantiated");
  	return NULL;
  }
  
  static char basestring_doc[] =
! "Type basestring cannot be instantiated; it is the base for str and unicode.";
  
  PyTypeObject PyBaseString_Type = {
  	PyObject_HEAD_INIT(&PyType_Type)
  	0,
! 	"basestring",
  	0,
  	0,