create a new instance in C of a Python subclass
Paul Miller
paul at fxtech.com
Fri Apr 18 09:56:48 EDT 2003
More information about the Python-list mailing list
Fri Apr 18 09:56:48 EDT 2003
- Previous message (by thread): create a new instance in C of a Python subclass
- Next message (by thread): create a new instance in C of a Python subclass
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>You do the same as in Python: call the type. How would I do that from C? Right now I'm just calling PyObject_NEW, but it doesn't seem to be calling the subclass's (Python) __init__().
- Previous message (by thread): create a new instance in C of a Python subclass
- Next message (by thread): create a new instance in C of a Python subclass
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list