PythonExtra/tests/basics/fun_annotations.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
75 B
Python
Raw Permalink Normal View History

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