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

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mantepse committed Jun 21, 2021
1 parent ad9ea7a commit 6b75c5d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/sage/interfaces/fricas.py
Expand Up @@ -1305,9 +1305,16 @@ def _parse_other(s, start=0, make_fun=False):
sage: FriCASElement._parse_other("abc -1.23", 4)
(-1.23, 8)
This function uses the symbol table to translate symbols
which are not function calls. At least ``%pi`` is an
example showing that this may be necessary::
This function cannot us the symbol table to translate symbols
which are not function calls, as :trac:`31849` shows::
sage: var("D")
D
sage: integrate(D/x, x, algorithm="fricas") # optional - fricas
D*log(x)
However, it does have to check for constants, for example
``%pi``::
sage: FriCASElement._parse_other("%pi")
(pi, 2)
Expand Down

0 comments on commit 6b75c5d

Please sign in to comment.