How can I define a function, or a contructor for a class with specified arguments using the C API?
By default function takes PyObject* args, and later in the code the linter won’t show real arguments.
If it’s not possible, is there a way to bypass it? I came up with two possible options:
Wrap every function in python code
def f(x: int, y: int) -> int: return _c_module(x, y)Maybe
.pyifiles could somehow do the trick(?)