Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The difference is that if the first one is defined, it can be used like this without cluttering up the function body:

  def foo(bar: Iterable):
    pass


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: