Comment by Izkata
3 years ago
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
3 years ago
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
No comments yet
Contribute on Hacker News ↗