Python is DOOMED! Again!

alex23 wuwei23 at gmail.com
Fri Jan 23 11:10:07 CET 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