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

Commit

Permalink
improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mantepse committed Jun 22, 2021
1 parent 03a3469 commit 577e476
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/sage/interfaces/fricas.py
Expand Up @@ -1281,8 +1281,7 @@ def _parse_list(s, start=0):

@staticmethod
def _parse_other(s, start=0, make_fun=False):
"""
Parse the initial part of a string, assuming that it is an
"""Parse the initial part of a string, assuming that it is an
atom, but not a string.
Symbols and numbers must not contain ``FriCASElement._WHITESPACE`` and
Expand All @@ -1305,8 +1304,10 @@ def _parse_other(s, start=0, make_fun=False):
sage: FriCASElement._parse_other("abc -1.23", 4)
(-1.23, 8)
This function cannot us the symbol table to translate symbols
which are not function calls, as :trac:`31849` shows::
This function cannot use the symbol table to translate
symbols which are not function calls, as :trac:`31849` shows
- ``D`` would erroneously be interpreted as differential
then::
sage: var("D")
D
Expand Down

0 comments on commit 577e476

Please sign in to comment.