diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-09-29 22:05:45 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-09-29 22:07:41 +0300 |
commit | 4c3047a9cdff686411077b1ccd5709eb221bf41a (patch) | |
tree | 65659ed3db866b6227332fe12bdc3f360635b1f9 /source/blender/python/intern/bpy_rna.c | |
parent | ebf752625e3cdd261abd3a737d18d477df6f4379 (diff) |
API Docs: Use raises field list syntax
See
https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html#info-field-lists
Diffstat (limited to 'source/blender/python/intern/bpy_rna.c')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index cac82b158d3..e71adbfdf62 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -8708,11 +8708,8 @@ PyDoc_STRVAR(pyrna_register_class_doc, " If the class has a *register* class method it will be called\n" " before registration.\n" "\n" - " .. note::\n" - "\n" - " :exc:`ValueError` exception is raised if the class is not a\n" - " subclass of a registerable blender class.\n" - "\n"); + " :raises ValueError:\n" + " if the class is not a subclass of a registerable blender class.\n"); PyMethodDef meth_bpy_register_class = { "register_class", pyrna_register_class, METH_O, pyrna_register_class_doc}; static PyObject *pyrna_register_class(PyObject *UNUSED(self), PyObject *py_class) |