Force use of keyword args on most constructors
This commit is contained in:
parent
2a8e43cbcd
commit
0e04633f61
9 changed files with 9 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ class Arc(Shape, metaclass=AutoSlots):
|
|||
radii: vector2,
|
||||
angles: vector2,
|
||||
width: float,
|
||||
*,
|
||||
poly_num_points: Optional[int] = DEFAULT_POLY_NUM_POINTS,
|
||||
poly_max_arclen: Optional[float] = None,
|
||||
offset: vector2 = (0.0, 0.0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue