Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/micropython/viper.py.exp

12 lines
63 B
Plaintext
Raw Normal View History

py: Allow viper to have type annotations. 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
2014-08-15 16:45:41 +01:00
6
3
py: Fix typing of viper locals; allow default types in annotation.
2014-08-15 22:39:08 +01:00
7
20
49994955
py: Viper can now store to global.
2014-08-15 23:47:59 +01:00
1 1
py: Viper can call functions with native types, and raise exceptions.
2014-08-16 22:06:11 +01:00
1 3
(1, 3)
[1, 3]
[1, 3]
SystemError(1,)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 23ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API