643c0df055e14f6dd91048f20cf20c95c152231c,mathics/builtin/inout.py,Grid,apply_makeboxes,#Grid#Any#Any#Any#Any#,795
Before Change
"GridBox",
Expression("List", *(
Expression("List", *(
Expression("MakeBoxes", item, f) for item in row.leaves))
for row in array.leaves)),
*options_to_rules(options))
After Change
lengths = [len(row.leaves) for row in array.leaves]
segment = []
boxes = evaluation.make_boxes([item for row in array.leaves for item in row.leaves], f, segment)
if segment[0]: // too long?
return Omitted("<<%d>>" % sum(lengths))
else:
rows = []
i = 0
for l in lengths:
rows.append(Expression("List", *boxes[i:i + l]))
i += l
return Expression(
"GridBox",
Expression("List", *rows),
*options_to_rules(options))
class TableForm(Builtin):
<dl>
<dt>"TableForm[$expr$]"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: mathics/Mathics
Commit Name: 643c0df055e14f6dd91048f20cf20c95c152231c
Time: 2016-09-14
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/inout.py
Class Name: Grid
Method Name: apply_makeboxes
Project Name: mathics/Mathics
Commit Name: 422b049ed0d3b6cd3386bc70ce49690c182f52ee
Time: 2016-08-05
Author: 16sn6uv@gmail.com
File Name: mathics/builtin/arithmetic.py
Class Name: Times
Method Name: apply
Project Name: mathics/Mathics
Commit Name: 51058736f8410b72abb0dfe0590966d72cd77e9c
Time: 2016-08-05
Author: 16sn6uv@gmail.com
File Name: mathics/builtin/arithmetic.py
Class Name: _MPMathFunction
Method Name: apply