d46fdb137fb14e7b6b5c471e5c75ca4b534a13d2,mathics/builtin/comparison.py,_EqualityOperator,apply_other,#_EqualityOperator#Any#Any#,299

Before Change


    def apply_other(self, args, evaluation):
        "%(name)s[args___?(!ExactNumberQ[//]&)]"
        args = args.get_sequence()
        pairs = zip(args[:-1],args[1:])
        print("apply_other:", args)
        for x, y in pairs:
            c = self.do_compare(x, y)
            if c is None:

After Change


    def apply_other(self, args, evaluation):
        "%(name)s[args___?(!ExactNumberQ[//]&)]"
        args = args.get_sequence()
        for x, y in itertools.combinations(args, 2):
            c = self.do_compare(x, y)
            if c is None:
                return
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: mathics/Mathics
Commit Name: d46fdb137fb14e7b6b5c471e5c75ca4b534a13d2
Time: 2021-03-26
Author: matera@fisica.unlp.edu.ar
File Name: mathics/builtin/comparison.py
Class Name: _EqualityOperator
Method Name: apply_other


Project Name: gboeing/osmnx
Commit Name: b2be440a78c9da841c3f1bdfa34e5dc0dc1e669c
Time: 2020-11-19
Author: boeing@usc.edu
File Name: osmnx/utils_graph.py
Class Name:
Method Name: _update_edge_keys


Project Name: mathics/Mathics
Commit Name: d46fdb137fb14e7b6b5c471e5c75ca4b534a13d2
Time: 2021-03-26
Author: matera@fisica.unlp.edu.ar
File Name: mathics/builtin/comparison.py
Class Name: _EqualityOperator
Method Name: apply


Project Name: gboeing/osmnx
Commit Name: d7b2db3c5262c82c44958afc2500efe0838f0884
Time: 2020-12-02
Author: boeing@usc.edu
File Name: osmnx/utils_graph.py
Class Name:
Method Name: _update_edge_keys