Thanks for your reply. What is the counterpart in v3.0? -- Neil
On Mar 2, 6:26 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sun, 02 Mar 2008 00:55:23 -0200, Neil.Fang.CN <[EMAIL PROTECTED]> > escribió: > > > Where can I find the Python class object interface document, such as > > struct PyClassObject, PyClass_New()? Thanks! > > PyClass_* and PyInstance_* are for old-style classes and instances > respectively, and will disappear in v3.0. > PyInstance is in the section 7.5.2 in the Python/C API Reference Manual; I > don't find any documentation on PyClass itself. > > -- > Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list