diff --git a/mathics/eval/makeboxes.py b/mathics/eval/makeboxes.py index 790d7da1e..d248b48a6 100644 --- a/mathics/eval/makeboxes.py +++ b/mathics/eval/makeboxes.py @@ -54,25 +54,30 @@ def _boxed_string(string: str, **options): return StyleBox(String(string), **options) -def eval_fullform_makeboxes(self, expr, evaluation, form=SymbolStandardForm): +def eval_fullform_makeboxes( + self, expr, evaluation: Evaluation, form=SymbolStandardForm +) -> Expression: """ This function takes the definitions provided by the evaluation object, and produces a boxed form for expr. + + Basically: MakeBoxes[expr // FullForm] """ # This is going to be reimplemented. expr = Expression(SymbolFullForm, expr) return Expression(SymbolMakeBoxes, expr, form).evaluate(evaluation) -def eval_makeboxes(self, expr, evaluation, form=SymbolStandardForm): +def eval_makeboxes( + self, expr, evaluation: Evaluation, form=SymbolStandardForm +) -> Expression: """ This function takes the definitions provided by the evaluation - object, and produces a boxed form for expr. + object, and produces a boxed fullform for expr. - Basically: MakeBoxes[expr // FullForm] + Basically: MakeBoxes[expr // form] """ # This is going to be reimplemented. - expr = Expression(SymbolFullForm, expr) return Expression(SymbolMakeBoxes, expr, form).evaluate(evaluation)