commit | ba21a49f9d55edf699d40b9a6a5a5499a4b233b4 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 16 08:17:26 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 16 08:17:26 2001 +0000 |
tree | defe36d9e397cf0398d1303f835679053b3c2c02 | |
parent | 82fc51c19c90ea7a9aab0aac8db278a84cefe2b1 [diff] |
Add a function _Py_ReadyTypes() which initializes various and sundry types -- currently Type, List, None and NotImplemented. To be called from Py_Initialize() instead of accumulating calls there. Also rename type(None) to NoneType and type(NotImplemented) to NotImplementedType -- naming the type identical to the object was confusing.