def parse_command_line(self, argv=None):
        super(IPythonQtConsoleApp, self).parse_command_line(argv)
        if argv is None:
            argv = sys.argv[1:]

        self.kernel_argv = list(argv) # copy
        # kernel should inherit default config file from frontend
        self.kernel_argv.append(self.name%"--KernelApp.parent_appname='%s'")
        # scrub frontend-specific flags
        for a in argv:
            
            if a.startswith('-'):
                key = a.lstrip('-').split('=')[0]
                if key in qt_flags:
                    self.kernel_argv.remove(a)
dataset/ETHPy150Open ipython/ipython-py3k/IPython/frontend/qt/console/qtconsoleapp.py/IPythonQtConsoleApp.parse_command_line/swapped operands of `%`