0df6037e8023f36ad673954d27b61266c0397b78,doc/conf.py,,,#,21

Before Change


// add these directories to sys.path here. If the directory is relative to the
// documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(os.path.pardir))
sys.path.insert(1, os.path.abspath("sphinxext"))

// -- General configuration ------------------------------------------------

// If your documentation needs a minimal Sphinx version, state it here.

After Change


        def __getattr__(cls, name):
                return MagicMock()

    MOCK_MODULES = ["cvxopt", "cvxpy", "numexpr", "numpy", "pandas", "scipy", "scikit-learn"]
    sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: sebp/scikit-survival
Commit Name: 0df6037e8023f36ad673954d27b61266c0397b78
Time: 2016-12-26
Author: sebp@k-d-w.org
File Name: doc/conf.py
Class Name:
Method Name:


Project Name: Microsoft/nni
Commit Name: 25db55caee4325b3b8ad3e3b48de76f349beeae6
Time: 2021-01-04
Author: 48014605+kvartet@users.noreply.github.com
File Name: docs/zh_CN/conf.py
Class Name:
Method Name:


Project Name: Microsoft/nni
Commit Name: 5bf5e46c69328444ac777cabd8ddf5b412230771
Time: 2020-12-09
Author: Yuge.Zhang@microsoft.com
File Name: docs/en_US/conf.py
Class Name:
Method Name: