Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mathics/builtin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ def sanity_check(cls, module):
"drawing",
"fileformats",
"files_io",
"forms",
"functional",
"intfns",
"list",
Expand Down
19 changes: 10 additions & 9 deletions mathics/builtin/box/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
from mathics.core.expression import Expression
from mathics.core.list import ListExpression
from mathics.core.symbols import Symbol, SymbolMakeBoxes
from mathics.core.systemsymbols import SymbolRowBox, SymbolStandardForm

SymbolFractionBox = Symbol("System`FractionBox")
SymbolSubscriptBox = Symbol("System`SubscriptBox")
SymbolSubsuperscriptBox = Symbol("System`SubsuperscriptBox")
SymbolSuperscriptBox = Symbol("System`SuperscriptBox")
SymbolSqrtBox = Symbol("System`SqrtBox")
from mathics.core.systemsymbols import (
SymbolFractionBox,
SymbolRowBox,
SymbolSqrtBox,
SymbolStandardForm,
SymbolSubsuperscriptBox,
SymbolSubscriptBox,
SymbolSuperscriptBox,
)


# this temporarily replaces the _BoxedString class
Expand Down Expand Up @@ -165,8 +167,7 @@ class InterpretationBox(BoxExpression):
"""
<dl>
<dt>'InterpretationBox[{...}, expr]'
<dd> is a low-level box construct that displays as
boxes but is interpreted on input as expr.
<dd> is a low-level box construct that displays as boxes, but is interpreted on input as expr.
</dl>

>> A = InterpretationBox["Pepe", 4]
Expand Down
Loading