diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-10 22:51:35 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-10 22:51:35 +0000 |
commit | f1081f400b3dd072fd46704d93557bd40ae617e5 (patch) | |
tree | 418dbb67431fe21ce9ca8578c3ec271a52ceded5 /tests/basics/fun-annotations.py | |
parent | ed378cd12f05c78c735dffe1c0a6b3cb4337e67d (diff) | |
parent | 724026ab402a13a2344ac6679a665394777ff0fa (diff) | |
download | micropython-f1081f400b3dd072fd46704d93557bd40ae617e5.tar.gz micropython-f1081f400b3dd072fd46704d93557bd40ae617e5.zip |
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'tests/basics/fun-annotations.py')
-rw-r--r-- | tests/basics/fun-annotations.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/basics/fun-annotations.py b/tests/basics/fun-annotations.py new file mode 100644 index 0000000000..85f808ab5b --- /dev/null +++ b/tests/basics/fun-annotations.py @@ -0,0 +1,4 @@ +def foo(x: int, y: list) -> dict: + return {x: y} + +print(foo(1, [2, 3])) |