Remove item from list in Pybind

前端 未结 0 1218
予麋鹿
予麋鹿 2021-01-12 20:34

I am moving CPython calls to pybind. I had the following code:

PyObject* my_list = ...;
PyList_SetSlice(my_list , i, i+1, NULL);

Which was us

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