example-code-2e/13-protocol-abc/double/double_object.py
2021-02-14 20:58:46 -03:00

3 lines
50 B
Python

def double(x: object) -> object:
return x * 2