From 9dc6a2d7f3ce42b04f8006803da39d2b17cac5e4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 11 Sep 2025 15:20:20 +1000 Subject: [PATCH] Cleanup: correct misleading PyArg_Parser formatting --- source/blender/python/gpu/gpu_py_element.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/blender/python/gpu/gpu_py_element.cc b/source/blender/python/gpu/gpu_py_element.cc index 328b82894b8..ff0bf2f8e00 100644 --- a/source/blender/python/gpu/gpu_py_element.cc +++ b/source/blender/python/gpu/gpu_py_element.cc @@ -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,