Hub.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:Alex 作者: candlewill 项目源码 文件源码
def init_readline(self):
        "Initialize the readline functionality to enable console history."
        if self.hub_history_file is not None:
            readline.set_history_length(self.hub_history_length)
            try:
                readline.read_history_file(self.hub_history_file)
            except IOError:
                pass

            atexit.register(readline.write_history_file, self.hub_history_file)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号