class object interface document
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Mon Mar 3 01:55:09 EST 2008
En Mon, 03 Mar 2008 04:37:38 -0200, Neil.Fang.CN <NeilFang2008 at gmail.com>
escribió:
> On Mar 2, 6:26 pm, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote:
>> En Sun, 02 Mar 2008 00:55:23 -0200, Neil.Fang.CN
>> <NeilFang2... at gmail.com>
>> 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.
> Thanks for your reply.
> What is the counterpart in v3.0?
New style classes, that exist since v2.2
http://www.python.org/doc/newstyle/
--
Gabriel Genellina
More information about the Python-list
mailing list