testsuite.py 文件源码

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

项目:gnatdashboard 作者: AdaCore 项目源码 文件源码
def log(self, tokens, stream=sys.stdout):
        """Log the input token stream with the standard Python logging
        mecanism.

        PARAMETERS
            log_fn: the logging function to use
            tokens: the input tokens stream
        """

        assert self.formatter is not None, 'Internal error'
        print >> stream, pygments.format(tokens, self.formatter)
        stream.flush()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号