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

@@ -20,7 +20,9 @@ using namespace Freestyle;
//------------------------INSTANCE METHODS ----------------------------------
static char SamplingShader___doc__[] =
PyDoc_STRVAR(
/* Wrap. */
SamplingShader___doc__,
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SamplingShader`\n"
"\n"
"[Geometry shader]\n"
@@ -37,7 +39,7 @@ static char SamplingShader___doc__[] =
" Resamples the stroke.\n"
"\n"
" :arg stroke: A Stroke object.\n"
" :type stroke: :class:`freestyle.types.Stroke`\n";
" :type stroke: :class:`freestyle.types.Stroke`\n");
static int SamplingShader___init__(BPy_SamplingShader *self, PyObject *args, PyObject *kwds)
{