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:
@@ -18,7 +18,9 @@ using namespace Freestyle;
|
||||
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char Length2DBP1D___doc__[] =
|
||||
PyDoc_STRVAR(
|
||||
/* Wrap. */
|
||||
Length2DBP1D___doc__,
|
||||
"Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`Length2DBP1D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter1, inter2)\n"
|
||||
@@ -31,7 +33,7 @@ static char Length2DBP1D___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 Length2DBP1D___init__(BPy_Length2DBP1D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user