4f6ada2ad9c2f1340436cf9baf168dbe2d2801f9,lib/matplotlib/scale.py,,_get_scale_docs,#,704

Before Change


        docs.append("")
        class_docs = cbook.dedent(scale_class.__init__.__doc__)
        class_docs = "".join(["        %s\n" %
                              x for x in class_docs.split("\n")])
        docs.append(class_docs)
        docs.append("")
    return "\n".join(docs)

After Change


    
    docs = []
    for name, scale_class in _scale_mapping.items():
        docs.extend([
            f"    {name!r}",
            "",
            textwrap.indent(inspect.getdoc(scale_class.__init__), " " * 8),
            ""
        ])
    return "\n".join(docs)


docstring.interpd.update(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: 4f6ada2ad9c2f1340436cf9baf168dbe2d2801f9
Time: 2019-02-02
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/scale.py
Class Name:
Method Name: _get_scale_docs


Project Name: pantsbuild/pants
Commit Name: c0e4ae92f95e20a068e4fb5d7a1fd7e8f0871026
Time: 2019-11-25
Author: asher@asherfoa.com
File Name: contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_binary_create.py
Class Name: CppBinaryCreate
Method Name: _link_binary


Project Name: MolSSI/QCEngine
Commit Name: 0f01823c82c0441ab8828ffd31e7b783914a47b6
Time: 2019-06-07
Author: lori.burns@gmail.com
File Name: qcengine/programs/mp2d.py
Class Name:
Method Name: mp2d_plant


Project Name: mlflow/mlflow
Commit Name: 9bf984f403910aa416edf8f492956b3c21e63a7e
Time: 2019-12-15
Author: stefano.zaninetta@nagra.com
File Name: mlflow/projects/kubernetes.py
Class Name:
Method Name: _get_run_command