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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user