摘要:
@total_ordering class Student: def __eq__(self, other): return ((self.lastname.lower(), self.firstname.lower()) == (other.lastname.lower(), other.firs 阅读全文
posted @ 2017-03-24 09:12
八月的男人
阅读(198)
评论(0)
推荐(0)
摘要:
源码: 阅读全文
posted @ 2017-03-24 08:54
八月的男人
阅读(1020)
评论(0)
推荐(0)
摘要:
源码: class locked_cached_property(object): """A decorator that converts a function into a lazy property. The function wrapped is called the first time 阅读全文
posted @ 2017-03-24 08:48
八月的男人
阅读(728)
评论(0)
推荐(0)

浙公网安备 33010602011771号