a61715567321c3e0aac4fa711e669ed259243577,mvpa/base/dochelpers.py,,handleDocString,#Any#,20

Before Change


        //  return "\n".join([">%s<" % x for x in text.split("\n")])
        // function posixpath.commonprefix might be used to detect
        // common prefix, or just textwrap.dedent
        return text


def enhancedDocString(name, lcl, *args):
    Generate enhanced doc strings.

After Change


            text2 = "\n".join(lines[1:])
            return lines[0] + "\n" + textwrap.dedent(text2)
        else:
            return textwrap.dedent(text)


def enhancedDocString(name, lcl, *args):
    Generate enhanced doc strings.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: PyMVPA/PyMVPA
Commit Name: a61715567321c3e0aac4fa711e669ed259243577
Time: 2008-07-31
Author: debian@onerussian.com
File Name: mvpa/base/dochelpers.py
Class Name:
Method Name: handleDocString


Project Name: tensorflow/datasets
Commit Name: 760059eee7c26c601e2b199180074944ebeff94d
Time: 2020-07-14
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/scripts/documentation/templates/dataset_doc_template.py
Class Name:
Method Name: display_source


Project Name: streamlit/streamlit
Commit Name: 2096181e1e9a1d817e400574202645e09721a2ff
Time: 2019-10-03
Author: thiago@streamlit.io
File Name: lib/streamlit/hashing.py
Class Name:
Method Name: _hashing_error_message


Project Name: pantsbuild/pants
Commit Name: 3e9e103c1d6f32f5a40f8a94a240b03221ba2bea
Time: 2016-04-17
Author: benjyw@gmail.com
File Name: src/python/pants/help/build_dictionary_info_extracter.py
Class Name: BuildDictionaryInfoExtracter
Method Name: get_description_from_docstring


Project Name: tensorflow/datasets
Commit Name: 760059eee7c26c601e2b199180074944ebeff94d
Time: 2020-07-14
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/scripts/documentation/templates/dataset_doc_template.py
Class Name:
Method Name: display_config_description