moved a bunch of garbage (things that have nothing to do in root) to _trash
This commit is contained in:
parent
d094982b2c
commit
3226ed29ec
2610 changed files with 0 additions and 0 deletions
|
@ -1,25 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
"""
|
||||
`micropython` - MicroPython Specific Decorator Functions
|
||||
========================================================
|
||||
|
||||
* Author(s): cefn
|
||||
"""
|
||||
|
||||
from typing import Callable, TypeVar, Any, NoReturn
|
||||
|
||||
Fun = TypeVar("Fun", bound=Callable[..., Any])
|
||||
|
||||
def const(x: int) -> int:
|
||||
"Emulate making a constant"
|
||||
|
||||
def native(f: Fun) -> Fun:
|
||||
"Emulate making a native"
|
||||
|
||||
def viper(f: Fun) -> NoReturn:
|
||||
"User is attempting to use a viper code emitter"
|
||||
|
||||
def asm_thumb(f: Fun) -> NoReturn:
|
||||
"User is attempting to use an inline assembler"
|
Loading…
Add table
Add a link
Reference in a new issue