python.syntax: fix py-import.

db4
John Benediktsson 2014-03-12 07:16:05 -07:00
parent 80d574af8c
commit 6ed0db20fd
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ SYMBOL: current-context
{ } { "obj" } <effect> define-inline ; inline
: 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
: make-method-quot ( name effect -- quot )