Cleanup: minor correction to delaunay_2d_cdt doc-string

Use more conventional syntax for default arguments.
This commit is contained in:
Campbell Barton 2021-07-19 11:57:28 +10:00
parent ee857cc266
commit ff01070b5c
1 changed files with 3 additions and 2 deletions

View File

@ -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`, "