summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-05-31 19:58:02 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-05-31 19:58:02 (GMT)
commit32a7e7f6b65bd64f28daccaf05e906f93f2ef77e (patch)
tree1d944c019e0ff8ea1eed8d98041a0d10f6488bb8 /Python
parent9b414ac93eb485a3123cf4dc33a253834c5d5e21 (diff)
downloadcpython-32a7e7f6b65bd64f28daccaf05e906f93f2ef77e.zip
cpython-32a7e7f6b65bd64f28daccaf05e906f93f2ef77e.tar.gz
cpython-32a7e7f6b65bd64f28daccaf05e906f93f2ef77e.tar.bz2
Change name from string to basestring
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 311176e..fba1b49 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1890,6 +1890,7 @@ _PyBuiltin_Init(void)
SETBUILTIN("NotImplemented", Py_NotImplemented);
SETBUILTIN("False", Py_False);
SETBUILTIN("True", Py_True);
+ SETBUILTIN("basestring", &PyBaseString_Type);
SETBUILTIN("bool", &PyBool_Type);
SETBUILTIN("classmethod", &PyClassMethod_Type);
#ifndef WITHOUT_COMPLEX
@@ -1905,7 +1906,6 @@ _PyBuiltin_Init(void)
SETBUILTIN("object", &PyBaseObject_Type);
SETBUILTIN("staticmethod", &PyStaticMethod_Type);
SETBUILTIN("str", &PyString_Type);
- SETBUILTIN("string", &PyBaseString_Type);
SETBUILTIN("super", &PySuper_Type);
SETBUILTIN("tuple", &PyTuple_Type);
SETBUILTIN("type", &PyType_Type);