How could I type a function that returns a generic type? For example, I use a function that expects another function as an argument. This second function must return a datatype or a collection. I assume that I could use *Callable[..., return type]* and I have no way to specify the return type.
-- Jonathan Gossage -- https://mail.python.org/mailman/listinfo/python-list