File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,15 @@ def eval_makeboxes_infix(
4747 precedence_value : Optional [int ] = None ,
4848 grouping : Optional [str ] = None ,
4949):
50- """Implements MakeBoxes[Infix[...]]"""
50+ """Implements MakeBoxes[Infix[...]]."""
51+
52+ # Actually, this function implements one part of the evaluation:
53+ # the one that should be done at the "format" level. In that point,
54+ # the operators are processed to add spaces and use the right
55+ # encoding. This should be done at the level of the formatter, not
56+ # in the "MakeBoxes" step.
57+ # Then, the true implementation is done
58+ # in ```mathics.eval.makeboxes.make_boxes_infix```.
5159
5260 ## FIXME: this should go into a some formatter.
5361 def format_operator (operator ) -> Union [String , BaseElement ]:
You can’t perform that action at this time.
0 commit comments