[Bf-blender-cvs] [211c5b4429e] master: Cleanup: correct rst string literals
Campbell Barton
noreply at git.blender.org
Tue Apr 23 22:17:23 CEST 2019
Commit: 211c5b4429ed72261c5ad41f41cb202ef509d115
Author: Campbell Barton
Date: Wed Apr 24 04:09:56 2019 +1000
Branches: master
https://developer.blender.org/rB211c5b4429ed72261c5ad41f41cb202ef509d115
Cleanup: correct rst string literals
===================================================================
M source/blender/python/intern/bpy_rna.c
===================================================================
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 6f93e42ce19..0ca96071ee0 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -8827,16 +8827,17 @@ PyDoc_STRVAR(
" Note: All arguments are positional only for now.\n"
"\n"
" :param callback:\n"
- " A function that will be called when the region is drawn.\n"
- " It gets the specified arguments as input.\n"
+ " A function that will be called when the region is drawn.\n"
+ " It gets the specified arguments as input.\n"
" :type callback: function\n"
" :param args: Arguments that will be passed to the callback.\n"
" :type args: tuple\n"
- " :param region_type: The region type the callback draws in; usually `'WINDOW'`. "
+ " :param region_type: The region type the callback draws in; usually ``WINDOW``. "
"(:class:`bpy.types.Region.type`)\n"
" :type region_type: str\n"
- " :param draw_type: Usually `POST_PIXEL` for 2D drawing and `POST_VIEW` for 3D drawing. In "
- "some cases `PRE_VIEW` can be used. `BACKDROP` can be used for backdrops in the node editor.\n"
+ " :param draw_type: Usually ``POST_PIXEL`` for 2D drawing and ``POST_VIEW`` for 3D drawing. "
+ "In some cases ``PRE_VIEW`` can be used. ``BACKDROP`` can be used for backdrops in the node "
+ "editor.\n"
" :type draw_type: str\n"
" :return: Handler that can be removed later on.\n"
" :rtype: object");
More information about the Bf-blender-cvs
mailing list