]> granicus.if.org Git - python/commit
- PyType_Ready(): Initialize the ob_type field to &PyType_Type if it's
authorGuido van Rossum <guido@python.org>
Mon, 17 Dec 2001 17:14:22 +0000 (17:14 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 17 Dec 2001 17:14:22 +0000 (17:14 +0000)
commitf884b749103bad0724e2e4878cd5fe49a41bd7df
tree08198b5552876fd2f950dfa3678423763e883139
parentfacf24bdc7b292029b3e611d241feee157cda4c4
- PyType_Ready(): Initialize the ob_type field to &PyType_Type if it's
  NULL, so that you can call PyType_Ready() to initialize a type that
  is to be separately compiled with C on Windows.

inherit_special():  Add a long comment explaining that you have to set
tp_new if your base class is PyBaseObject_Type.
Objects/typeobject.c