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

@@ -23,7 +23,9 @@ using namespace Freestyle;
// ViewMapGradientNormBP1D(int level, IntegrationType iType=MEAN, float sampling=2.0)
static char ViewMapGradientNormBP1D___doc__[] =
PyDoc_STRVAR(
/* Wrap. */
ViewMapGradientNormBP1D___doc__,
"Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > "
":class:`ViewMapGradientNormBP1D`\n"
"\n"
@@ -53,7 +55,7 @@ static char ViewMapGradientNormBP1D___doc__[] =
" :arg inter2: The second Interface1D object.\n"
" :type inter2: :class:`freestyle.types.Interface1D`\n"
" :return: True or false.\n"
" :rtype: bool\n";
" :rtype: bool\n");
static int ViewMapGradientNormBP1D___init__(BPy_ViewMapGradientNormBP1D *self,
PyObject *args,