mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 05:00:26 +01:00
Viper functions can now be annotated with the type of their arguments
and return value. Eg:
@micropython.viper
def f(x:int) -> int:
return x + 1
30 KiB
30 KiB