__init__.py 文件源码

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

项目:ascii-art-py 作者: blinglnav 项目源码 文件源码
def get_summaries(ordered=True):
    """Yields sorted (command name, command summary) tuples."""

    if ordered:
        cmditems = _sort_commands(commands_dict, commands_order)
    else:
        cmditems = commands_dict.items()

    for name, command_class in cmditems:
        yield (name, command_class.summary)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号