WordSub.py 文件源码

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

项目:spqrel_tools 作者: LCAS 项目源码 文件源码
def __setitem__(self, i, y):
        self._regexIsDirty = True
        # for each entry the user adds, we actually add three entrys:
        super(type(self), self).__setitem__(string.lower(i), string.lower(y))  # key = value
        super(type(self), self).__setitem__(string.capwords(i), string.capwords(y))  # Key = Value
        super(type(self), self).__setitem__(string.upper(i), string.upper(y))  # KEY = VALUE
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号