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:
@@ -85,7 +85,9 @@ int UnaryFunction0DFloat_Init(PyObject *module)
|
||||
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char UnaryFunction0DFloat___doc__[] =
|
||||
PyDoc_STRVAR(
|
||||
/* Wrap. */
|
||||
UnaryFunction0DFloat___doc__,
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DFloat`\n"
|
||||
"\n"
|
||||
"Base class for unary functions (functors) that work on\n"
|
||||
@@ -93,7 +95,7 @@ static char UnaryFunction0DFloat___doc__[] =
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
" Default constructor.\n";
|
||||
" Default constructor.\n");
|
||||
|
||||
static int UnaryFunction0DFloat___init__(BPy_UnaryFunction0DFloat *self,
|
||||
PyObject *args,
|
||||
|
||||
Reference in New Issue
Block a user