python.syntax: fix py-import.
parent
80d574af8c
commit
6ed0db20fd
|
@ -41,7 +41,7 @@ SYMBOL: current-context
|
||||||
{ } { "obj" } <effect> define-inline ; inline
|
{ } { "obj" } <effect> define-inline ; inline
|
||||||
|
|
||||||
: add-function ( name effect -- )
|
: add-function ( name effect -- )
|
||||||
[ dup current-context get import swap getattr 2dup ] dip
|
[ dup current-context get py-import swap getattr 2dup ] dip
|
||||||
function-callable function-object ; inline
|
function-callable function-object ; inline
|
||||||
|
|
||||||
: make-method-quot ( name effect -- quot )
|
: make-method-quot ( name effect -- quot )
|
||||||
|
|
Loading…
Reference in New Issue