From 61ecd3d24e0cc20bd9ec4e4282a100e241fcf190 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 14 Nov 2018 13:04:12 +0100 Subject: minor cleanup --- source/blender/python/gpu/gpu_py_shader.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/python/gpu') diff --git a/source/blender/python/gpu/gpu_py_shader.c b/source/blender/python/gpu/gpu_py_shader.c index eeacd087884..3b2665cc4a2 100644 --- a/source/blender/python/gpu/gpu_py_shader.c +++ b/source/blender/python/gpu/gpu_py_shader.c @@ -697,9 +697,9 @@ static PyObject *bpygpu_shader_unbind(BPyGPUShader *UNUSED(self)) PyDoc_STRVAR(bpygpu_shader_from_builtin_doc, ".. function:: from_builtin(shader_name)\n" "\n" -"Shaders that are embedded in the blender internal code.\n" -"They all read the uniform 'mat4 ModelViewProjectionMatrix', which can be edited by the 'gpu.matrix' module.\n" -"For more details, you can check the shader code with the function 'gpu.shader.code_from_builtin';\n" +" Shaders that are embedded in the blender internal code.\n" +" They all read the uniform 'mat4 ModelViewProjectionMatrix', which can be edited by the 'gpu.matrix' module.\n" +" For more details, you can check the shader code with the function 'gpu.shader.code_from_builtin';\n" "\n" " :param shader_name: One of these builtin shader names: {\n" " '2D_UNIFORM_COLOR',\n" @@ -710,8 +710,8 @@ PyDoc_STRVAR(bpygpu_shader_from_builtin_doc, " '3D_FLAT_COLOR',\n" " '3D_SMOOTH_COLOR'}\n" " :type shader_name: str\n" -" :return: the shader object\n" -" :rtype: bpy.types.GPUShader\n" +" :return: Shader object corresponding to the given name.\n" +" :rtype: :class:`bpy.types.GPUShader`\n" ); static PyObject *bpygpu_shader_from_builtin(PyObject *UNUSED(self), PyObject *arg) { @@ -729,7 +729,7 @@ static PyObject *bpygpu_shader_from_builtin(PyObject *UNUSED(self), PyObject *ar PyDoc_STRVAR(bpygpu_shader_code_from_builtin_doc, ".. function:: code_from_builtin(shader_name)\n" "\n" -"Exposes the internal shader code for query.\n" +" Exposes the internal shader code for query.\n" "\n" " :param shader_name: One of these builtin shader names: {\n" " '2D_UNIFORM_COLOR',\n" -- cgit v1.2.3