clitools.py 文件源码

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

项目:skaff 作者: jhxie 项目源码 文件源码
def _split_lines(self, text, width):
        if text.startswith('D|'):
            self._add_defaults = True
            text = text[2:]
        elif text.startswith('*|'):
            text = text[2:]
        if text.startswith('R|'):
            return text[2:].splitlines()
        return argparse.HelpFormatter._split_lines(self, text, width)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号