Writing a CPython extension - calling another sibbling method ?
R.Wieser
address at not.available
Tue Nov 19 06:14:42 EST 2019
MRAB,
> It could be something like this:
[snip example code]
Thank you very much. Your "Call the other method" line shows me that I've
been overthinking things. :-(
After that I decided to see if I could give the "py_proc1" function two
arguments, which worked. That means that the prepending of "foo" (to the
origional one) has been changed into transferring it on its own (much easier
for both the caller as well as the callee).
Regards,
Rudy Wieser
More information about the Python-list
mailing list