72cb7a23af6fbe31367cbfcbbe13994455708593,doc/sphinxext/numpy_ext/docscrape_sphinx.py,SphinxDocString,__init__,#SphinxDocString#Any#Any#,11

Before Change


class SphinxDocString(NumpyDocString):
    def __init__(self, docstring, config=None):
        config = {} if config is None else config
        self.use_plots = config.get("use_plots", False)
        NumpyDocString.__init__(self, docstring, config=config)

    // string conversion routines
    def _str_header(self, name, symbol="`"):

After Change


class SphinxDocString(NumpyDocString):
    def __init__(self, docstring, config={}):
        NumpyDocString.__init__(self, docstring, config=config)
        self.load_config(config)

    def load_config(self, config):
        self.use_plots = config.get("use_plots", False)
        self.use_blockquotes = config.get("use_blockquotes", False)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


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


Project Name: lebedov/scikit-cuda
Commit Name: ae7177fec929cd5b78a445030a79bba2b0792cf7
Time: 2014-10-22
Author: lev@columbia.edu
File Name: docs/sphinxext/docscrape_sphinx.py
Class Name: SphinxDocString
Method Name: __init__


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


Project Name: lebedov/scikit-cuda
Commit Name: ae7177fec929cd5b78a445030a79bba2b0792cf7
Time: 2014-10-22
Author: lev@columbia.edu
File Name: docs/sphinxext/docscrape_sphinx.py
Class Name: SphinxFunctionDoc
Method Name: __init__


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


Project Name: lebedov/scikit-cuda
Commit Name: ae7177fec929cd5b78a445030a79bba2b0792cf7
Time: 2014-10-22
Author: lev@columbia.edu
File Name: docs/sphinxext/docscrape_sphinx.py
Class Name: SphinxClassDoc
Method Name: __init__