Fix: PyDocs typing issue with lists
Fixed use of lists using multiple arguments - `list` only support a single argument. Noticed working with fake-bpy-module - providing multiple arguments to `list` resulted in typing error (e.g. "Too many type arguments provided for "list"; expected 1 but received 2"). Pull Request: https://projects.blender.org/blender/blender/pulls/134663
This commit is contained in:
committed by
Pratik Borhade
parent
8ad740ae95
commit
b9bbf48841
@@ -1469,7 +1469,7 @@ PyDoc_STRVAR(
|
||||
" :arg boxes: list of boxes, each box is a list where the first 4 items are "
|
||||
"[X, Y, width, height, ...] other items are ignored. "
|
||||
"The X & Y values in this list are modified to set the packed positions.\n"
|
||||
" :type boxes: list[list[float, float, float, float, ...]]\n"
|
||||
" :type boxes: list[list[float]]\n"
|
||||
" :return: The width and height of the packed bounding box.\n"
|
||||
" :rtype: tuple[float, float]\n");
|
||||
static PyObject *M_Geometry_box_pack_2d(PyObject * /*self*/, PyObject *boxlist)
|
||||
|
||||
Reference in New Issue
Block a user