API Docs: Use raises field list syntax
See https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html#info-field-lists
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user