X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka.git/blobdiff_plain/1ed771f1cca5f23273e93a509ef003e363810985..6f022a0ef477a4570594a9f32fcf6283cb1190ed:/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")