bd00a1257eb1fcc28beb01ba2658a0301c597255,mathics/builtin/compilation.py,CompiledCodeBox,boxes_to_text,#CompiledCodeBox#Any#,195

Before Change


    

    def boxes_to_text(self, leaves, **options):
        return leaves[0].__str__()

    def boxes_to_xml(self, leaves, **options):
        return leaves[0].__str__()

After Change


    

    def boxes_to_text(self, leaves=None, **options):
        if leaves is None:
            leaves = self._leaves
        return leaves[0].value

    def boxes_to_xml(self, leaves, **options):
        if leaves is None:
            leaves = self._leaves        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: mathics/Mathics
Commit Name: bd00a1257eb1fcc28beb01ba2658a0301c597255
Time: 2021-03-07
Author: matera@fisica.unlp.edu.ar
File Name: mathics/builtin/compilation.py
Class Name: CompiledCodeBox
Method Name: boxes_to_text


Project Name: mathics/Mathics
Commit Name: bd00a1257eb1fcc28beb01ba2658a0301c597255
Time: 2021-03-07
Author: matera@fisica.unlp.edu.ar
File Name: mathics/builtin/compilation.py
Class Name: CompiledCodeBox
Method Name: boxes_to_tex


Project Name: mathics/Mathics
Commit Name: bd00a1257eb1fcc28beb01ba2658a0301c597255
Time: 2021-03-07
Author: matera@fisica.unlp.edu.ar
File Name: mathics/builtin/compilation.py
Class Name: CompiledCodeBox
Method Name: boxes_to_xml