[SciPy-Dev] Static Typing

josef.pktd at gmail.com josef.pktd at gmail.com
Fri Jul 2 12:00:54 EDT 2021


How would you annotate scipy distributions inputs?

args, kwargs, flexible number of parameters, parameters that can be kwargs
or args.

And how would this affect subclasses?

The distribution classes have a lot of input validation, and it took me
some time recently to get a subclass to fit their design.

Josef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scipy-dev/attachments/20210702/8f9f5549/attachment.html>


More information about the SciPy-Dev mailing list