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:
@@ -53,7 +53,9 @@ int UnaryFunction0DVec2f_Init(PyObject *module)
|
||||
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char UnaryFunction0DVec2f___doc__[] =
|
||||
PyDoc_STRVAR(
|
||||
/* Wrap. */
|
||||
UnaryFunction0DVec2f___doc__,
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DVec2f`\n"
|
||||
"\n"
|
||||
"Base class for unary functions (functors) that work on\n"
|
||||
@@ -61,7 +63,7 @@ static char UnaryFunction0DVec2f___doc__[] =
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
" Default constructor.\n";
|
||||
" Default constructor.\n");
|
||||
|
||||
static int UnaryFunction0DVec2f___init__(BPy_UnaryFunction0DVec2f *self,
|
||||
PyObject *args,
|
||||
|
||||
Reference in New Issue
Block a user