[Python-checkins] python/dist/src/Python bltinmodule.c,2.256,2.257
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Fri, 31 May 2002 12:58:04 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv24025/Python
Modified Files:
bltinmodule.c
Log Message:
Change name from string to basestring
Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.256
retrieving revision 2.257
diff -C2 -d -r2.256 -r2.257
*** bltinmodule.c 24 May 2002 19:01:59 -0000 2.256
--- bltinmodule.c 31 May 2002 19:58:02 -0000 2.257
***************
*** 1891,1894 ****
--- 1891,1895 ----
SETBUILTIN("False", Py_False);
SETBUILTIN("True", Py_True);
+ SETBUILTIN("basestring", &PyBaseString_Type);
SETBUILTIN("bool", &PyBool_Type);
SETBUILTIN("classmethod", &PyClassMethod_Type);
***************
*** 1906,1910 ****
SETBUILTIN("staticmethod", &PyStaticMethod_Type);
SETBUILTIN("str", &PyString_Type);
- SETBUILTIN("string", &PyBaseString_Type);
SETBUILTIN("super", &PySuper_Type);
SETBUILTIN("tuple", &PyTuple_Type);
--- 1907,1910 ----