pygettext.py 文件源码

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

项目:pisi 作者: examachine 项目源码 文件源码
def __suitedocstring(self, ttype, tstring, lineno):
        # ignore any intervening noise
        if ttype == tokenize.STRING:
            self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
            self.__state = self.__waiting
        elif ttype not in (tokenize.NEWLINE, tokenize.INDENT,
                           tokenize.COMMENT):
            # there was no class docstring
            self.__state = self.__waiting
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号