a61715567321c3e0aac4fa711e669ed259243577,mvpa/base/dochelpers.py,,enhancedClassDocString,#Any#,55

Before Change


                               rst_lvlmarkup[1]),
                  handleDocString(i.__doc__) ]

    return "\n\n".join(docs)

After Change


                               rst_lvlmarkup[1]),
                  handleDocString(i.__doc__) ]

    result = "\n\n".join(docs)
    // remove some bogus new lines -- never 3 empty lines in doc are useful
    result = re.sub("\s*\n\s*\n\s*\n", "\n\n", result)

    return result
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

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: enhancedClassDocString


Project Name: graphbrain/graphbrain
Commit Name: ede18382e3a041e4445e8947164b143c4cdda889
Time: 2021-02-05
Author: telmo@telmomenezes.net
File Name: graphbrain/parsers/text.py
Class Name:
Method Name: edge_text


Project Name: mathics/Mathics
Commit Name: cd5f5ba85e800e1ec6c253b15b58ac641fc9a6ae
Time: 2020-12-24
Author: pablo-escobar@riseup.net
File Name: mathics/doc/utils.py
Class Name:
Method Name: slugify


Project Name: brian-team/brian2
Commit Name: d0811ce8fa7377ce94247fded30eb316aa132651
Time: 2013-03-14
Author: dan.goodman@ens.fr
File Name: brian2/codegen/languages/cpp.py
Class Name: CPPLanguage
Method Name: translate_expression


Project Name: deepmipt/DeepPavlov
Commit Name: 11db1051286a7e77ca540eab6e42ce6958b1cc6d
Time: 2018-12-25
Author: yoptar@gmail.com
File Name: setup.py
Class Name:
Method Name: readme