Get callable arguments count in CPython?

后端 未结 0 1096
执念已碎
执念已碎 2021-01-26 07:09

I have Python C-Extension function that takes a callable as parameter to act as a callback. I have two types of callbacks, each one with different number of arguments. I want to

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