ext.py 文件源码

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

项目:sphinx-click 作者: click-contrib 项目源码 文件源码
def _format_description(ctx):
    """Format the description for a given `click.Command`.

    We parse this as reStructuredText, allowing users to embed rich
    information in their help messages if they so choose.
    """
    if not ctx.command.help:
        return

    for line in statemachine.string2lines(
            ctx.command.help, tab_width=4, convert_whitespace=True):
        yield line
    yield ''
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号