mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
Change name from string to basestring
This commit is contained in:
parent
9b414ac93e
commit
32a7e7f6b6
3 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue