Hacker News new | ask | show | jobs
by sixo 426 days ago
This isn't what I'm talking about. I would want

    def my_func(a: int, b: int):
      ...

    def my_func2(args: my_func.__args_type__):
      ...
with `my_func.__args_type__` standing for an object like `{a: int, b: int}`.