Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2018-11-13 16:55:15 +0300
committerJacques Lucke <mail@jlucke.com>2018-11-13 17:25:51 +0300
commit444f1fd4237d68151cb0cb844ad25276102291bd (patch)
treeadf8751b02485f45183163c47d995e67f56f7a55 /source/blender/python/gpu/gpu_py_element.c
parent3f478f4260ef0ea2db27e5008c193dfec3288749 (diff)
Py API Docs: Cleanup
Diffstat (limited to 'source/blender/python/gpu/gpu_py_element.c')
-rw-r--r--source/blender/python/gpu/gpu_py_element.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/python/gpu/gpu_py_element.c b/source/blender/python/gpu/gpu_py_element.c
index c85d6dfbe3b..10990abc5e6 100644
--- a/source/blender/python/gpu/gpu_py_element.c
+++ b/source/blender/python/gpu/gpu_py_element.c
@@ -196,20 +196,20 @@ static void bpygpu_IndexBuf_dealloc(BPyGPUIndexBuf *self)
}
PyDoc_STRVAR(py_gpu_element_doc,
-"GPUIndexBuf(type, seq)\n"
+".. class:: GPUIndexBuf(type, seq)\n"
"\n"
-"Contains an index buffer."
+" Contains an index buffer. \n"
"\n"
-" :param type:\n"
-" One of these primitive types: {\n"
+" :param type: One of these primitive types: {\n"
" `POINTS`,\n"
" `LINES`,\n"
" `TRIS`,\n"
" `LINE_STRIP_ADJ` }\n"
-" :type type: :class:`str`\n"
-" :param seq: Indices this index buffer will contain.\n"
-" :type buf: 1D or 2D sequence, depending on the type. \n"
-" Optionally the sequence can support the buffer protocol. \n"
+" :type type: `str`\n"
+" :param seq: Indices this index buffer will contain. \n"
+" Whether a 1D or 2D sequence is required depends on the type. \n"
+" Optionally the sequence can support the buffer protocol. \n"
+" :type seq: 1D or 2D sequence \n"
);
PyTypeObject BPyGPUIndexBuf_Type = {
PyVarObject_HEAD_INIT(NULL, 0)