@classmethod
    def widget_overrides(cls):
        if hasattr(cls, 'widget'):
            return {cls.field_name: cls.widget}
        else:
            return {}
For each pair of corresponding elements in C{sets} and C{subsets},
dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailadmin/edit_handlers.py/BaseFieldPanel.widget_overrides--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_warning.py/FlushWarningsTests.assertDictSubsets