filecmp.py 文件源码

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

项目:oil 作者: oilshell 项目源码 文件源码
def phase1(self): # Compute common names
        a = dict(izip(imap(os.path.normcase, self.left_list), self.left_list))
        b = dict(izip(imap(os.path.normcase, self.right_list), self.right_list))
        self.common = map(a.__getitem__, ifilter(b.__contains__, a))
        self.left_only = map(a.__getitem__, ifilterfalse(b.__contains__, a))
        self.right_only = map(b.__getitem__, ifilterfalse(a.__contains__, b))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号