Cleanup: correct misleading PyArg_Parser formatting

This commit is contained in:
Campbell Barton
2025-09-11 15:20:20 +10:00
parent 62906cb6f4
commit 9dc6a2d7f3

View File

@@ -42,8 +42,9 @@ static PyObject *pygpu_IndexBuf__tp_new(PyTypeObject * /*type*/, PyObject *args,
static const char *_keywords[] = {"type", "seq", nullptr};
static _PyArg_Parser _parser = {
PY_ARG_PARSER_HEAD_COMPAT()
"$O" /* `type` */
"&O" /* `seq` */
"$" /* Keyword only arguments. */
"O&" /* `type` */
"O" /* `seq` */
":IndexBuf.__new__",
_keywords,
nullptr,