Defining Python class methods in C

Bryan belred1 at
Sat Mar 22 02:58:34 CET 2003

can someone please help me with this?

there is this cookbook recipe that shows how to make a class type in

what this recipe doesn't show is exactly how to instantiate one of
these objects in c (not python) and call the __init__ method. 
obviously you first call initFoo(), but then what? does anyone know
how to do this?



More information about the Python-list mailing list