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 @@ -49,7 +49,15 @@ def eval_makeboxes_infix(
4949 precedence_value : Optional [int ] = None ,
5050 grouping : Optional [str ] = None ,
5151):
52- """Implements MakeBoxes[Infix[...]]"""
52+ """Implements MakeBoxes[Infix[...]]."""
53+
54+ # Actually, this function implements one part of the evaluation:
55+ # the one that should be done at the "format" level. In that point,
56+ # the operators are processed to add spaces and use the right
57+ # encoding. This should be done at the level of the formatter, not
58+ # in the "MakeBoxes" step.
59+ # Then, the true implementation is done
60+ # in ```mathics.eval.makeboxes.make_boxes_infix```.
5361
5462 ## FIXME: this should go into a some formatter.
5563 def format_operator (operator ) -> Union [String , BaseElement ]:
You can’t perform that action at this time.
0 commit comments