fix python

This commit is contained in:
Vitor Santos Costa
2016-08-22 17:02:40 -05:00
parent a675f6f49e
commit eea3da22f1
2 changed files with 5 additions and 2 deletions

View File

@@ -110,7 +110,10 @@ Data types are
:- use_module(library(charsio)).
:- dynamic python_mref_cache/2, python_obj_cache/2.
:= import( F ) :- python_import(F).
:= (P1,P2) :- !,
:= P1,
:= P2.
:= import( F ) :- !, python_import(F).
:= F :- python(F,_).
V := F :- var(V), !, python(F,V0),