摘要:        
object的方法 比较的特殊方法: 特殊方法 使用 描述 __lt__(self.other) x<y 如果x<y,则返回true __le__(self.other) x<=y 如果x<=y,返回true __eq__(self.other) x==y 如果x==y,返回true __ne__(    阅读全文
        
            posted @ 2018-07-18 00:22
要一直走下去
阅读(146)
评论(0)
推荐(0)
        
    | 
摘要:        
object的方法 比较的特殊方法: 特殊方法 使用 描述 __lt__(self.other) x<y 如果x<y,则返回true __le__(self.other) x<=y 如果x<=y,返回true __eq__(self.other) x==y 如果x==y,返回true __ne__(    阅读全文
 
            posted @ 2018-07-18 00:22
要一直走下去
阅读(146)
评论(0)
推荐(0)
         |