Skip to content

Commit 1f91bc4

Browse files
committed
Update type hints in polygon_list class methods
Signed-off-by: Michael Brunner <brunner@cadwork.swiss>
1 parent 33d58d4 commit 1f91bc4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/cadwork/polygon_list.pyi

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
from cadwork import point_3d
1+
from cadwork import vertex_list
2+
23

34
class polygon_list:
4-
5+
56
def count(self) -> int:
67
"""count
78
8-
Returns:
9-
int
9+
Returns: int
1010
"""
1111

12-
def at(self, index: int) -> point_3d:
12+
def at(self, index: int) -> vertex_list:
1313
"""at
1414
1515
Parameters:
1616
index: index
1717
1818
Returns:
19-
point_3d
19+
vertex_list: vertex_list
2020
"""
21-

0 commit comments

Comments
 (0)