8add59583560b9d7b31618ddefb7f478eda1b92f,mathics/builtin/functional.py,Function,apply_slots,#Function#Any#Any#Any#,68

Before Change


    def apply_slots(self, body, args, evaluation):
        "Function[body_][args___]"

        args = args.get_sequence()
        args.insert(0, Expression("Function", body))
        return body.replace_slots(args, evaluation)

    def apply_named(self, vars, body, args, evaluation):

After Change


    def apply_slots(self, body, args, evaluation):
        "Function[body_][args___]"

        args = list(chain([Expression("Function", body)], args.get_sequence()))
        return body.replace_slots(args, evaluation)

    def apply_named(self, vars, body, args, evaluation):
        "Function[vars_, body_][args___]"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mathics/Mathics
Commit Name: 8add59583560b9d7b31618ddefb7f478eda1b92f
Time: 2020-09-28
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/functional.py
Class Name: Function
Method Name: apply_slots


Project Name: biotite-dev/biotite
Commit Name: 3b2380c30645620e984c3ddb8a917f3a3773800b
Time: 2017-10-26
Author: patrick.kunzm@gmail.com
File Name: src/biopython/application/blast/webapp.py
Class Name: BlastWebApp
Method Name: __init__


Project Name: biotite-dev/biotite
Commit Name: 1d8d873091f27ff1abf0d0ba98b68ea3da7077e6
Time: 2020-05-29
Author: tom.mueller@beachouse.de
File Name: tests/structure/test_pdbx.py
Class Name:
Method Name: test_get_sequence