[Bf-blender-cvs] [ff01070b5ca] master: Cleanup: minor correction to delaunay_2d_cdt doc-string
Campbell Barton
noreply at git.blender.org
Mon Jul 19 04:02:49 CEST 2021
Commit: ff01070b5ca98a3019a66526c8c26c1f64bb0ef4
Author: Campbell Barton
Date: Mon Jul 19 11:57:28 2021 +1000
Branches: master
https://developer.blender.org/rBff01070b5ca98a3019a66526c8c26c1f64bb0ef4
Cleanup: minor correction to delaunay_2d_cdt doc-string
Use more conventional syntax for default arguments.
===================================================================
M source/blender/python/mathutils/mathutils_geometry.c
===================================================================
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`, "
More information about the Bf-blender-cvs
mailing list