tbv.py 文件源码

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

项目:tbvaccine 作者: skorokithakis 项目源码 文件源码
def _process_code_line(self, line):
        """
        Process a line of code in the traceback.
        """
        if self._isolate and not self._file_in_dir():
            # Print without colors.
            self._print(line)
        else:
            if self._isolate:
                line = line[1:]
                self._print(">", fg="red", style="bright")
            line = highlight(line, PythonLexer(), TerminalFormatter(style="monokai"))
            self._print(line.rstrip("\r\n"))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号