Added missing decorator

bixb922
2024-05-02 09:34:58 -04:00
parent 90613a34bf
commit c4ca8bb9d4

@@ -398,6 +398,7 @@ The conversion of the return value back to `builtins.int` is done automatically.
If the value returned by the function is any other object, you do not need a type hint. You can, however, use `object` as return type hint:
```py
@micropython.viper
def function_returns_object(x)->object:
return x
h = function_returns_object("a string")