Cleanup: python doc-strings
Indentation & trailing space.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user