Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
33584: initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
soehms committed Mar 28, 2022
1 parent 43474c9 commit 4302109
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sage/interfaces/mathics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,10 @@ def _sage_(self, locals={}):
s = self.to_sympy()
if self is not s and s is not None:
if hasattr(s, '_sage_'):
return s._sage_()
try:
return s._sage_()
except NotImplementedError: # see :trac:`33584`
pass
p = self.to_python()
if self is not p and p is not None:
def conv(i):
Expand Down

0 comments on commit 4302109

Please sign in to comment.