comparison Python/bltinmodule.c @ 41645:70472c157bb9

Get rid of 'file' built-in. Get rid of types.StringType and friends.
author Guido van Rossum <guido@python.org>
date Tue, 08 May 2007 17:20:32 +0000
parents a6eb6acfe04a
children 23a8b3dfbe95
comparison
equal deleted inserted replaced
41644:9cc4c3f0b580 41645:70472c157bb9
2038 #ifndef WITHOUT_COMPLEX 2038 #ifndef WITHOUT_COMPLEX
2039 SETBUILTIN("complex", &PyComplex_Type); 2039 SETBUILTIN("complex", &PyComplex_Type);
2040 #endif 2040 #endif
2041 SETBUILTIN("dict", &PyDict_Type); 2041 SETBUILTIN("dict", &PyDict_Type);
2042 SETBUILTIN("enumerate", &PyEnum_Type); 2042 SETBUILTIN("enumerate", &PyEnum_Type);
2043 SETBUILTIN("file", &PyFile_Type);
2044 SETBUILTIN("float", &PyFloat_Type); 2043 SETBUILTIN("float", &PyFloat_Type);
2045 SETBUILTIN("frozenset", &PyFrozenSet_Type); 2044 SETBUILTIN("frozenset", &PyFrozenSet_Type);
2046 SETBUILTIN("property", &PyProperty_Type); 2045 SETBUILTIN("property", &PyProperty_Type);
2047 SETBUILTIN("int", &PyLong_Type); 2046 SETBUILTIN("int", &PyLong_Type);
2048 SETBUILTIN("list", &PyList_Type); 2047 SETBUILTIN("list", &PyList_Type);