def do_bash_completion(self, args):
        commands = set()
        options = set()
        for sc_str, sc in self.subcommands.items():
            commands.add(sc_str)
            for option in list(sc._optionals._option_string_actions):
                options.add(option)

        commands.remove('bash-completion')
        commands.remove('bash_completion')
        print(' '.join(commands | options))
Set a cookie, without checking whether or not it should be set.
dataset/ETHPy150Open openstack/python-cloudkittyclient/cloudkittyclient/shell.py/CloudkittyShell.do_bash_completion--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/cookielib.py/CookieJar.set_cookie