Paul Bryan wrote: > Could the type hint for the __init__ parameter be inferred from the > (proposed) init_fn's own parameter type hint itself? > On Tue, 2022-06-28 at 16:39 +0000, Steve Jorgensen wrote:
I think I was already suggesting that possibility "an optional argument to `InitFn` or maybe that can be derived from the signature of the function that `InitFn` refers to." Are we saying the same thing? _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/W6SYLYIQLORAJJCVXYPZFLV25XZG43DH/ Code of Conduct: http://python.org/psf/codeofconduct/
