From e89ea27c8b1db795949b3538dc10bec6117399ad Mon Sep 17 00:00:00 2001 From: Thea Flowers Date: Mon, 25 Nov 2019 18:07:14 -0800 Subject: [PATCH] Add stubs for micropython.natve, viper, and asm_thumb --- src/micropython.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.49.0