fypp.py 文件源码

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

项目:fypp 作者: aradi 项目源码 文件源码
def __init__(self):
        # The tree, which should be built.
        self._tree = []

        # List of all open constructs
        self._open_blocks = []

        # Nodes to which the open blocks have to be appended when closed
        self._path = []

        # Nr. of open blocks when file was opened. Used for checking whether all
        # blocks have been closed, when file processing finishes.
        self._nr_prev_blocks = []

        # Current node, to which content should be added
        self._curnode = self._tree

        # Current file
        self._curfile = None
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号