

def get_magics(self, mtype):
    magics = []
    for name in dir(self):
        if name.startswith((mtype + '_')):
            magics.append(name.replace((self + '_'), ''))
    return magics

dataset/ETHPy150Open Calysto/metakernel/metakernel/magic.py Magic.get_magics/VarMisuse@50/57 `mtype`->`self`