6481223f72b97d7a03aa5ee373836dac97a352e7,mathics/builtin/assignment.py,Information,format_definition,#Information#Any#Any#Any#Any#,911

Before Change


        else:
            for line in lines:
                evaluation.print_out(Expression("InputForm", line))
            return Symbol("Null")

        // It would be deserable to call here the routine inside Definition, but for some reason it fails...
        // Instead, I just copy the code from Definition

After Change


        lines = []
        if isinstance(symbol, String):
            evaluation.print_out(symbol)
            return ret
        if not isinstance(symbol, Symbol):
            evaluation.message("Information", "notfound", symbol)
            return ret
        // Print the "usage" message if available.
        usagetext = _get_usage_string(symbol, evaluation)
        if usagetext is not None:
            lines.append(usagetext)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


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: 9f614aba11f29ebbf220e1fc6bb22e4c77e1fc7c
Time: 2021-04-10
Author: rb@dustyfeet.com
File Name: mathics/builtin/algebra.py
Class Name: PolynomialQ
Method Name: apply


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: d091dfe063fa6ddfd01ec11d68597e574a4270f6
Time: 2020-12-26
Author: rb@dustyfeet.com
File Name: mathics/builtin/xmlformat.py
Class Name:
Method Name: parse_xml


Project Name: mathics/Mathics
Commit Name: 19031d7a672a8fdfe6bec5ca11ef3a0044cdf39d
Time: 2020-12-10
Author: rb@dustyfeet.com
File Name: mathics/builtin/comparison.py
Class Name: _ComparisonOperator
Method Name: apply


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: 19031d7a672a8fdfe6bec5ca11ef3a0044cdf39d
Time: 2020-12-10
Author: rb@dustyfeet.com
File Name: mathics/builtin/comparison.py
Class Name: _EqualityOperator
Method Name: apply