Python is DOOMED! Again!

alex23 wuwei23 at gmail.com
Fri Jan 23 05:10:07 EST 2015


On 22/01/2015 7:37 PM, Nicholas Cole wrote:
> Still, it would have been nicer to be able to write something like
> this (where the Unions are implicit):

Coincidentally, you also demonstrate what makes this a lesser idea :)

> def handle_employees(employees, rasie):
                                   ^^^^^
>      # raise:  float, Sequence[float]
          ^^^^^

There is a distinct advantage in not repeating yourself.



More information about the Python-list mailing list