diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2022-07-13 23:25:57 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2022-07-13 23:25:57 +0300 |
commit | 50d832634eaa1b309306c4596f4213244213e104 (patch) | |
tree | 2ad6d4ae527f369c48d557b007b0466175c54eb6 /source/blender/python | |
parent | 144d9f2b2e80cf543e228ba5b0c0279aeca2c574 (diff) |
Docs: Fix out of order parameters
Fixes T99672
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/gpu/gpu_py_vertex_buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/gpu/gpu_py_vertex_buffer.c b/source/blender/python/gpu/gpu_py_vertex_buffer.c index a295bedeae2..ac050128a1d 100644 --- a/source/blender/python/gpu/gpu_py_vertex_buffer.c +++ b/source/blender/python/gpu/gpu_py_vertex_buffer.c @@ -323,14 +323,14 @@ static void pygpu_vertbuf__tp_dealloc(BPyGPUVertBuf *self) } PyDoc_STRVAR(pygpu_vertbuf__tp_doc, - ".. class:: GPUVertBuf(len, format)\n" + ".. class:: GPUVertBuf(format, len)\n" "\n" " Contains a VBO.\n" "\n" - " :param len: Amount of vertices that will fit into this buffer.\n" - " :type type: `int`\n" " :param format: Vertex format.\n" - " :type buf: :class:`gpu.types.GPUVertFormat`\n"); + " :type buf: :class:`gpu.types.GPUVertFormat`\n" + " :param len: Amount of vertices that will fit into this buffer.\n" + " :type type: `int`\n"); PyTypeObject BPyGPUVertBuf_Type = { PyVarObject_HEAD_INIT(NULL, 0).tp_name = "GPUVertBuf", .tp_basicsize = sizeof(BPyGPUVertBuf), |