can't pass less or more than 2 args for methods passing to arrat of PyMethodDef

后端 未结 0 1997
北荒
北荒 2021-02-19 01:28

I am following this doc on extending c++ to python. As far as what was demonstrated there, the PyObject *spam_system(PyObject *self, PyObject *args) {...} works fin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题