def fun(self, x, a=1.5):
        return (x - a)**2 - 0.8
Removes a sub-menu from the context menu.
dataset/ETHPy150Open scipy/scipy/scipy/optimize/tests/test_optimize.py/TestOptimizeScalar.fun--crossover with--dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/api/code_edit.py/CodeEdit.remove_menu