writer.py 文件源码

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

项目:pymotw3 作者: reingart 项目源码 文件源码
def visit_entry(self, node):
        if self.table.col != 0:
            self.body.append('&')
        self.table.col += 1
        context = ''
        if isinstance(node.parent.parent, nodes.thead):
            if len(node) == 1 and isinstance(node[0], nodes.paragraph) and node.astext() == '':
                pass
            else:
                self.body.append(' \\textbf{\\textsf ')
                context += '} '
        if len(node.traverse(nodes.paragraph)) >= 2:
            self.table.has_problematic = True
        self.context.append(context)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号