From: Thea Flowers Date: Tue, 26 Nov 2019 02:07:14 +0000 (-0800) Subject: Add stubs for micropython.natve, viper, and asm_thumb X-Git-Tag: 3.0.4^2 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/e89ea27c8b1db795949b3538dc10bec6117399ad Add stubs for micropython.natve, viper, and asm_thumb --- diff --git a/src/micropython.py b/src/micropython.py index b5af9b3..620646f 100755 --- a/src/micropython.py +++ b/src/micropython.py @@ -1,2 +1,14 @@ def const(x): return x + + +def native(f): + return f + + +def viper(f): + raise SyntaxError("invalid micropython decorator") + + +def asm_thumb(f): + raise SyntaxError("invalid micropython decorator") \ No newline at end of file