dochelpers.py 文件源码

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

项目:qubes-core-admin-client 作者: QubesOS 项目源码 文件源码
def visit_desc_name(self, node):
        ''' Checks if the option is defined `self.args` '''
        if not isinstance(node[0], docutils.nodes.Text):
            raise sphinx.errors.SphinxError('first child should be Text')

        arg = str(node[0])
        try:
            self.args.remove(arg)
        except KeyError:
            raise sphinx.errors.SphinxError(
                'No such argument for {!r}: {!r}'.format(self.command, arg))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号