def set_startup_hook(self, function=None):
        self.mode.startup_hook = function
Set or remove the startup_hook function.
dataset/ETHPy150Open Ali-Razmjoo/OWASP-ZSC/module/readline_windows/pyreadline/rlmain.py/BaseReadline.set_startup_hook