032850fc86bd260f8f76e7612ac62a26c2864678,sympy/assumptions/assume.py,PredicateMeta,__new__,#Any#Any#Any#Any#,190

Before Change


        if handler is not None:
            dct["__doc__"] += "Handler\n"
            dct["__doc__"] += "    =======\n\n"
            for line in handler.__doc__.splitlines():
                dct["__doc__"] += "    %s\n" % line

        return super().__new__(cls, clsname, bases, dct)

After Change


            handler = Dispatcher(name, doc="Handler for key %s" % name)
            dct["handler"] = handler

        dct["_orig_doc"] = dct["__doc__"]

        return super().__new__(cls, clsname, bases, dct)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: sympy/sympy
Commit Name: 032850fc86bd260f8f76e7612ac62a26c2864678
Time: 2021-01-10
Author: jeesoo9595@snu.ac.kr
File Name: sympy/assumptions/assume.py
Class Name: PredicateMeta
Method Name: __new__


Project Name: snorkel-team/snorkel
Commit Name: a5eaca98f8338692fa7d658f047ad0da926507ca
Time: 2019-08-13
Author: henry.ehrenberg@outlook.com
File Name: setup.py
Class Name:
Method Name:


Project Name: coala/coala-bears
Commit Name: 6a33fbaa4b92bf6891a1adaa29881f0549518691
Time: 2017-01-18
Author: nkprince007@gmail.com
File Name: bears/vcs/git/GitCommitBear.py
Class Name: GitCommitBear
Method Name: run