

def _weighting_classes(self):
    return [c for (name, c) in inspect.getmembers(scoring, inspect.isclass) if (scoring.Weighting in name.__bases__)]

dataset/ETHPy150Open dokipen/whoosh/tests/test_weightings.py TestWeightings._weighting_classes/VarMisuse@36/46 `c`->`name`