摘要: 一、基础知识 二、字典索引和分片:\__getitem__,\__setitem__,\__delitem__ 三、\__slots__ 四、迭代器对象:\__iter__,\__next__ 五、实现上下文管理:with/as,\__enter__,\__exit__ 六、\__call__:py 阅读全文
posted @ 2017-04-25 16:02 f_manito 阅读(434) 评论(0) 推荐(0) 编辑