]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/micropython.py
Allow latest release of black to run
[Adafruit_Blinka-hackapet.git] / src / micropython.py
index 620646f85882ec03383e00cf33a6aa5a2a955488..5f369e3f0df022d3594edd97633e5093ed303266 100755 (executable)
@@ -1,14 +1,26 @@
+"""
+`micropython` - MicroPython Specific Decorator Functions
+=================================================
+
+* Author(s): cefn
+"""
+
+
 def const(x):
+    "Emulate making a constant"
     return x
 
 
 def native(f):
+    "Emulate making a native"
     return f
 
 
 def viper(f):
+    "User is attempting to use a viper code emitter"
     raise SyntaxError("invalid micropython decorator")
 
 
 def asm_thumb(f):
-    raise SyntaxError("invalid micropython decorator")
\ No newline at end of file
+    "User is attempting to use an inline assembler"
+    raise SyntaxError("invalid micropython decorator")