jupyter
This commit is contained in:
@@ -37,7 +37,8 @@ jupyter_cell( _Caller, _, `` ) :- !.
|
||||
jupyter_cell( _Caller, _, Line ) :-
|
||||
blank( Line ),
|
||||
!.
|
||||
jupyter_cell(Self, _, Line ) :-
|
||||
jupyter_cell(Caller, _, Line ) :-
|
||||
Self := Caller.query,
|
||||
catch(
|
||||
python_query(Self,Line),
|
||||
E=error(A,B),
|
||||
|
@@ -519,6 +519,10 @@ class YAPRun:
|
||||
self.shell.yapeng = self.yapeng
|
||||
self._get_exc_info = shell._get_exc_info
|
||||
|
||||
|
||||
def showtraceback(self, tuple):
|
||||
return None
|
||||
|
||||
def syntaxErrors(self, text):
|
||||
"""Return whether a legal query
|
||||
"""
|
||||
|
Reference in New Issue
Block a user