add comment macro
This commit is contained in:
parent
203965d0fa
commit
d0530b0e7e
@ -216,3 +216,7 @@
|
|||||||
(setv decorators (cut expr None -1)
|
(setv decorators (cut expr None -1)
|
||||||
fndef (get expr -1))
|
fndef (get expr -1))
|
||||||
`(with-decorator ~@decorators ~fndef))
|
`(with-decorator ~@decorators ~fndef))
|
||||||
|
|
||||||
|
(defmacro comment [&rest body]
|
||||||
|
"Ignores body and always expands to None"
|
||||||
|
None)
|
||||||
|
Loading…
Reference in New Issue
Block a user