You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So type hinting is GREAT. Don't get me wrong, but that is ACTUALLY THE BEST THING PYTHON EVER HAD AND NO KIDDING.
But then, type hints can't deal with cases like this:
defbundle(what_ever_kwargs) ->list[dict*8]:
pass
So this is not supported. But to be PRECISE, we want to state that this function EXACTLY RETURNS 8 dictionaries.
So can we add support for this kind of type hinting (in 3.14 maybe?)
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
The text was updated successfully, but these errors were encountered:
See also python/typing#786. If you think this is an important feature, read that discussion and prepare a PEP to add it to the type system. (Personally I'm not sure it's worth the extra complexity.)
Feature or enhancement
Proposal:
So type hinting is GREAT. Don't get me wrong, but that is ACTUALLY THE BEST THING PYTHON EVER HAD AND NO KIDDING.
But then, type hints can't deal with cases like this:
So this is not supported. But to be PRECISE, we want to state that this function EXACTLY RETURNS 8 dictionaries.
So can we add support for this kind of type hinting (in 3.14 maybe?)
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
The text was updated successfully, but these errors were encountered: