Merge pull request #267 from pfalcon/func-ret-ann

Clean up handling of function return type annotation.
This commit is contained in:
Damien George
2014-02-10 21:59:11 +00:00
3 changed files with 7 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
def foo(x: int, y: list) -> dict:
return {x: y}
print(foo(1, [2, 3]))