PyDoc: correct parameter doc-strings & exception message

This commit is contained in:
2022-09-17 22:17:05 +10:00
parent f8a3ec48e4
commit 57e4b6aefb
4 changed files with 6 additions and 6 deletions

View File

@@ -328,9 +328,9 @@ PyDoc_STRVAR(pygpu_vertbuf__tp_doc,
" Contains a VBO.\n"
"\n"
" :param format: Vertex format.\n"
" :type buf: :class:`gpu.types.GPUVertFormat`\n"
" :type format: :class:`gpu.types.GPUVertFormat`\n"
" :param len: Amount of vertices that will fit into this buffer.\n"
" :type type: `int`\n");
" :type len: int\n");
PyTypeObject BPyGPUVertBuf_Type = {
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "GPUVertBuf",
.tp_basicsize = sizeof(BPyGPUVertBuf),