diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-23 21:09:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-23 22:45:21 +0300 |
commit | 211c5b4429ed72261c5ad41f41cb202ef509d115 (patch) | |
tree | dc0fbd0dfe62ede4dfe054d69937cb23a94717f5 /source/blender/python | |
parent | ec57ff28005469c5985037e3bf9122762d354d2b (diff) |
Cleanup: correct rst string literals
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 11 |
1 files changed, 6 insertions, 5 deletions
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"); |