643c0df055e14f6dd91048f20cf20c95c152231c,mathics/builtin/inout.py,Grid,apply_makeboxes,#Grid#Any#Any#Any#Any#,795

Before Change


        return Expression(
            "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


        """MakeBoxes[Grid[array_?MatrixQ, OptionsPattern[Grid]],
            f:StandardForm|TraditionalForm|OutputForm]"""

        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:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

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: 6481223f72b97d7a03aa5ee373836dac97a352e7
Time: 2021-02-14
Author: matera@fisica.unlp.edu.ar
File Name: mathics/builtin/assignment.py
Class Name: Information
Method Name: format_definition


Project Name: mathics/Mathics
Commit Name: a309401f936ed001df4f2268da985bbc4d9cd8ab
Time: 2021-02-06
Author: matera@fisica.unlp.edu.ar
File Name: mathics/builtin/assignment.py
Class Name: Information
Method Name: format_definition


Project Name: mathics/Mathics
Commit Name: 214c09c0f018013be994d4c1220bfb5f5264c724
Time: 2020-09-05
Author: pablo-escobar@riseup.net
File Name: mathics/builtin/linalg.py
Class Name: Eigenvalues
Method Name: apply