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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-14 01:04:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-14 01:05:07 +0300
commit72369c638d936a76ba58c98b4b89626f6ff28f32 (patch)
treeb66a7025c305d8834cd1830cc93b27bfab47faf9 /source/blender/python/gpu/gpu_py_element.c
parent4a71102309c9c081d96c3e6478212f875879f4bb (diff)
Cleanup: python doc-strings
Indentation & trailing space.
Diffstat (limited to 'source/blender/python/gpu/gpu_py_element.c')
-rw-r--r--source/blender/python/gpu/gpu_py_element.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/gpu/gpu_py_element.c b/source/blender/python/gpu/gpu_py_element.c
index 10990abc5e6..12027d2e2b8 100644
--- a/source/blender/python/gpu/gpu_py_element.c
+++ b/source/blender/python/gpu/gpu_py_element.c
@@ -198,7 +198,7 @@ static void bpygpu_IndexBuf_dealloc(BPyGPUIndexBuf *self)
PyDoc_STRVAR(py_gpu_element_doc,
".. class:: GPUIndexBuf(type, seq)\n"
"\n"
-" Contains an index buffer. \n"
+" Contains an index buffer.\n"
"\n"
" :param type: One of these primitive types: {\n"
" `POINTS`,\n"
@@ -206,10 +206,10 @@ PyDoc_STRVAR(py_gpu_element_doc,
" `TRIS`,\n"
" `LINE_STRIP_ADJ` }\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"
+" :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)