'Run module specified at the command-line.'

def _run_module(self):

    if self.module_to_run:
        save_argv = sys.argv
        sys.argv = ([sys.executable] + self.extra_args)
        try:
            self.shell.safe_run_module(self.module_to_run, self.shell.user_ns)
        finally:
            sys.argv = save_argv
