diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-19 04:57:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-19 04:57:28 +0300 |
commit | ff01070b5ca98a3019a66526c8c26c1f64bb0ef4 (patch) | |
tree | 357aa615cbce0c394d2050254720ae23186aaf8b /source | |
parent | ee857cc266fd7914b82540021ceeb33a940d2301 (diff) |
Cleanup: minor correction to delaunay_2d_cdt doc-string
Use more conventional syntax for default arguments.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/mathutils/mathutils_geometry.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c index a2dfaf501d6..c73dea79aac 100644 --- a/source/blender/python/mathutils/mathutils_geometry.c +++ b/source/blender/python/mathutils/mathutils_geometry.c @@ -1524,7 +1524,8 @@ static PyObject *list_of_lists_from_arrays(const int *array, PyDoc_STRVAR( M_Geometry_delaunay_2d_cdt_doc, - ".. function:: delaunay_2d_cdt(vert_coords, edges, faces, output_type, epsilon [,need_ids])\n" + ".. function:: delaunay_2d_cdt(vert_coords, edges, faces, output_type, epsilon, " + "need_ids=True)\n" "\n" " Computes the Constrained Delaunay Triangulation of a set of vertices,\n" " with edges and faces that must appear in the triangulation.\n" @@ -1554,7 +1555,7 @@ PyDoc_STRVAR( " :type output_type: int\\n" " :arg epsilon: For nearness tests; should not be zero\n" " :type epsilon: float\n" - " :arg need_ids: are the orig output arrays needed? (optional, default True)\n" + " :arg need_ids: are the orig output arrays needed?\n" " :type need_args: bool\n" " :return: Output tuple, (vert_coords, edges, faces, orig_verts, orig_edges, orig_faces)\n" " :rtype: (list of `mathutils.Vector`, " |