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

Commit

Permalink
fix details
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Jul 13, 2022
1 parent 8f13a5a commit c79ff66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sage/interfaces/mupad.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _read_in_file_command(self, filename):
sage: filename = tmp_filename()
sage: with open(filename, 'w') as f:
....: f.write('x := 2;\n')
....: _ = f.write('x := 2;\n')
sage: mupad.read(filename) # optional - MuPAD
sage: mupad.get('x').strip() # optional - mupad
'2'
Expand Down
5 changes: 3 additions & 2 deletions src/sage/interfaces/r.py
Original file line number Diff line number Diff line change
Expand Up @@ -2060,13 +2060,14 @@ def r_version():
"""
return r.version()


class HelpExpression(str):
"""
Used to improve printing of output of r.help.
"""
def __repr__(self):
"""
Return string representation of self.
r"""
Return string representation of ``self``.
OUTPUT: string
Expand Down

0 comments on commit c79ff66

Please sign in to comment.