72cb7a23af6fbe31367cbfcbbe13994455708593,doc/sphinxext/numpy_ext/docscrape.py,ClassDoc,__init__,#ClassDoc#Any#Any#Any#Any#Any#,474

Before Change


                                   for name in sorted(self.methods)]
            if not self["Attributes"]:
                self["Attributes"] = [(name, "", "")
                                      for name in sorted(self.properties)]

    @property
    def methods(self):

After Change


                    doc_list = []
                    for name in sorted(items):
                        try:
                            doc_item = pydoc.getdoc(getattr(self._cls, name))
                            doc_list.append((name, "", splitlines_x(doc_item)))
                        except AttributeError:
                            pass  // method doesn"t exist
                    self[field] = doc_list
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: astroML/astroML
Commit Name: 72cb7a23af6fbe31367cbfcbbe13994455708593
Time: 2019-01-02
Author: bsipocz@gmail.com
File Name: doc/sphinxext/numpy_ext/docscrape.py
Class Name: ClassDoc
Method Name: __init__


Project Name: pantsbuild/pants
Commit Name: eeb9d7488a39bb428bf19e273584675d1041745b
Time: 2020-03-20
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/rules/pytest_runner.py
Class Name:
Method Name: setup_pytest_for_target


Project Name: bokeh/bokeh
Commit Name: 14636a05a2a7acaf72d23635b76fe62035fb21b9
Time: 2016-12-27
Author: bryanv@continuum.io
File Name: bokeh/plotting/helpers.py
Class Name:
Method Name: _add_sigfunc_info