Skip to content

Commit 4ecf2c0

Browse files
committed
change int32 to integer
1 parent 9137375 commit 4ecf2c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

generator/reference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# this is correct, see _return_list_py5shapes
3838
"processing.core.PShape[]": "list[Py5Shape]",
3939
"java.lang.String[]": "list[str]",
40-
"int[]": "npt.NDArray[np.int32]",
40+
"int[]": "npt.NDArray[np.integer]",
4141
}
4242

4343
JPYPE_CONVERSIONS = {

py5_docs/Reference/api_en/Py5Shape_get_vertex_codes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ category = vertices
77
subcategory = None
88

99
@@ signatures
10-
get_vertex_codes() -> npt.NDArray[np.int32]
10+
get_vertex_codes() -> npt.NDArray[np.integer]
1111

1212
@@ description
1313
Get the vertex codes for a `Py5Shape` object. The vertex codes can be used to inspect a shape's geometry to determine what kind of vertices it has. Each can be one of `BREAK`, `VERTEX`, `BEZIER_VERTEX`, `QUADRATIC_VERTEX` or `CURVE_VERTEX`.

0 commit comments

Comments
 (0)