Re: Keyword passing to superclass written in C

2007-11-27 Thread Sven Erik Knop
Duh of course. Not sure what I had done in Python/Python. Now it works. Thanks a lot. Sven Erik Chris Mellon wrote: On Nov 27, 2007 6:47 AM, Sven Erik Knop <[EMAIL PROTECTED]> wrote: Hi I am getting slightly frustrated and wonder if you can help me. Consider a Python cla

Keyword passing to superclass written in C

2007-11-27 Thread Sven Erik Knop
Hi I am getting slightly frustrated and wonder if you can help me. Consider a Python class Foo implemented in C++. I have declared an initialization method like this static int Foo_init(P4Adapter *self, PyObject *args, PyObject *kwds) { } and I am subclassing Foo in Python, which works fine i