#
第180页,倒数第三行。英文原文:If you overload == and !=, you must also override the Equals() and GetHashCode() me
官网解释:object.__getattr__(self, name)Called when an attribute lookup has not found the attribute
#!/usr/bin/python class ozd(object): def __repr__(self):
type的用法:1、普通的type用法:检查类型class my(object): def hello(self, nam