Cleanup: force wrapping all uses of PyDoc_STRVAR
Without this, minor edits can re-indent the whole doc-string at a different level, causing diffs to be unnecessary noisy.
This commit is contained in:
@@ -49,7 +49,9 @@ int UnaryFunction0DVectorViewShape_Init(PyObject *module)
|
||||
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char UnaryFunction0DVectorViewShape___doc__[] =
|
||||
PyDoc_STRVAR(
|
||||
/* Wrap. */
|
||||
UnaryFunction0DVectorViewShape___doc__,
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DVectorViewShape`\n"
|
||||
"\n"
|
||||
"Base class for unary functions (functors) that work on\n"
|
||||
@@ -58,7 +60,7 @@ static char UnaryFunction0DVectorViewShape___doc__[] =
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
" Default constructor.\n";
|
||||
" Default constructor.\n");
|
||||
|
||||
static int UnaryFunction0DVectorViewShape___init__(BPy_UnaryFunction0DVectorViewShape *self,
|
||||
PyObject *args,
|
||||
|
||||
Reference in New Issue
Block a user