PyDoc: include keyword only parameter in doc-strings

This commit is contained in:
Campbell Barton
2025-08-26 02:14:30 +00:00
parent 3f7f475c1c
commit 753b6c031b
23 changed files with 61 additions and 58 deletions

View File

@@ -913,7 +913,7 @@ static PyObject *pygpu_shader_unbind(BPyGPUShader * /*self*/)
PyDoc_STRVAR(
/* Wrap. */
pygpu_shader_from_builtin_doc,
".. function:: from_builtin(shader_name, config='DEFAULT')\n"
".. function:: from_builtin(shader_name, *, config='DEFAULT')\n"
"\n"
" Shaders that are embedded in the blender internal code (see :ref:`built-in-shaders`).\n"
" They all read the uniform ``mat4 ModelViewProjectionMatrix``,\n"