X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/1ed771f1cca5f23273e93a509ef003e363810985..5436e48a04eed54db245563efcdd23afa13b1544:/src/micropython-stubs/micropython.pyi diff --git a/src/micropython-stubs/micropython.pyi b/src/micropython-stubs/micropython.pyi index 7ae9330..33dd6a9 100644 --- a/src/micropython-stubs/micropython.pyi +++ b/src/micropython-stubs/micropython.pyi @@ -14,16 +14,12 @@ Fun = TypeVar("Fun", bound=Callable[..., Any]) def const(x: int) -> int: "Emulate making a constant" - return x def native(f: Fun) -> Fun: "Emulate making a native" - return f def viper(f: Fun) -> NoReturn: "User is attempting to use a viper code emitter" - raise SyntaxError("invalid micropython decorator") def asm_thumb(f: Fun) -> NoReturn: "User is attempting to use an inline assembler" - raise SyntaxError("invalid micropython decorator")