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:
Campbell Barton
2024-01-25 10:22:16 +11:00
parent 0ea0573349
commit 7436b578dd
213 changed files with 8505 additions and 6231 deletions

View File

@@ -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,