Cleanup: python doc-strings

Indentation & trailing space.
This commit is contained in:
2018-11-14 09:04:24 +11:00
parent 4a71102309
commit 72369c638d
9 changed files with 48 additions and 48 deletions

View File

@@ -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)