]> granicus.if.org Git - python/commit
Add a function _Py_ReadyTypes() which initializes various and sundry
authorGuido van Rossum <guido@python.org>
Thu, 16 Aug 2001 08:17:26 +0000 (08:17 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 16 Aug 2001 08:17:26 +0000 (08:17 +0000)
commitba21a49f9d55edf699d40b9a6a5a5499a4b233b4
treedefe36d9e397cf0398d1303f835679053b3c2c02
parent82fc51c19c90ea7a9aab0aac8db278a84cefe2b1
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.
Objects/object.c