spinel-cli.py 文件源码

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

项目:pyspinel 作者: openthread 项目源码 文件源码
def do_history(self, _line):
        """
        history

          Show previously executed commands.
        """

        try:
            import readline
            hist = readline.get_current_history_length()
            for idx in range(1, hist + 1):
                self.log(readline.get_history_item(idx))
        except ImportError:
            pass
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号