[Python-3000] Type parameterization (was: Re: Type annotations: annotating generators)

Tony Lownds tony at printra.net
Sat May 20 17:25:23 CEST 2006


On May 19, 2006, at 9:23 PM, Talin wrote:

>
> OK, try this on your friends and see what happens:
>
>     dict[ str >> int ]
>

How about just dict[str:int]?

> Alternative suggestion: Define -> as an operator.
>

I like this idea!

-Tony




More information about the Python-3000 mailing list