diff options
| author | Damien George | 2014-02-10 22:51:35 +0000 |
|---|---|---|
| committer | Damien George | 2014-02-10 22:51:35 +0000 |
| commit | f1081f400b3dd072fd46704d93557bd40ae617e5 (patch) | |
| tree | 418dbb67431fe21ce9ca8578c3ec271a52ceded5 /tests | |
| parent | ed378cd12f05c78c735dffe1c0a6b3cb4337e67d (diff) | |
| parent | 724026ab402a13a2344ac6679a665394777ff0fa (diff) | |
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'tests')
| -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 000000000..85f808ab5 --- /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])) |
