[bindings] fix signatures in pyi files
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# SPDX-License: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from Base.Metadata import export, constmethod
|
||||
from typing import Tuple, overload
|
||||
|
||||
@@ -25,7 +29,7 @@ class ChFi2d_ChamferAPI(PyObjectBase):
|
||||
"""
|
||||
...
|
||||
|
||||
def perform(self, radius: float) -> bool:
|
||||
def perform(self, radius: float, /) -> bool:
|
||||
"""
|
||||
perform(radius) -> bool
|
||||
|
||||
@@ -33,7 +37,7 @@ class ChFi2d_ChamferAPI(PyObjectBase):
|
||||
"""
|
||||
...
|
||||
|
||||
def result(self, point: object, solution: int = -1) -> Tuple[object, object, object]:
|
||||
def result(self, point: object, solution: int = -1, /) -> Tuple[object, object, object]:
|
||||
"""
|
||||
result(point, solution=-1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user