File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ export pycallable
9696export pycompile
9797export @pyeval
9898export @pyexec
99+ export @py
99100export @pyconst
100101
101102# Convert
Original file line number Diff line number Diff line change @@ -5,3 +5,6 @@ macro pyconst end
55
66# Convert
77macro pyconvert end
8+
9+ # PyMacro
10+ macro py end
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ module PyMacro
2121using .. PythonCall
2222using .. Core
2323
24+ import .. PythonCall: @py
25+
2426using MacroTools: MacroTools, @capture , isexpr
2527
2628const PY_MACRO_NILOPS = Dict (
@@ -877,6 +879,5 @@ See the online documentation for more details.
877879macro py (ex)
878880 esc (py_macro (ex, __module__, __source__))
879881end
880- export @py
881882
882883end
You can’t perform that action at this time.
0 commit comments