dad615ae7a53e0b19cd6a3db11c3362fd58f99ad,doc/sphinxext/custom_autosummary_new_suffix.py,,setup,#Any#,64

Before Change


    builder_inited_listeners = app.events.listeners["builder-inited"]

    for listener_id, obj in builder_inited_listeners.items():
        if (inspect.isfunction(obj)
                and obj.__name__ == "process_generate_options"):
            builder_inited_listeners[listener_id] = \
                process_generate_options_custom_files
            break

After Change


    builder_inited_listeners = app.events.listeners["builder-inited"]
    for event_listener in builder_inited_listeners:
        func = event_listener.handler
        if func.__name__ == "process_generate_options":
            process_generate_options_id = event_listener.id
            break
    assert process_generate_options_id is not None

    // Override process_generate_options added by sphinx.ext.autosummary
    app.disconnect(process_generate_options_id)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-learn/scikit-learn
Commit Name: dad615ae7a53e0b19cd6a3db11c3362fd58f99ad
Time: 2020-06-25
Author: thomasjpfan@gmail.com
File Name: doc/sphinxext/custom_autosummary_new_suffix.py
Class Name:
Method Name: setup


Project Name: ray-project/ray
Commit Name: 6373c706615bc94c0a1e7fc564b3d18c3d342d91
Time: 2020-04-30
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/api.py
Class Name:
Method Name: create_backend


Project Name: osmr/imgclsmob
Commit Name: 2d8dae6582495d4da285d0646f5338af9dfee7fc
Time: 2019-01-03
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/common.py
Class Name: ConvBlock
Method Name: __init__