Representations
String Representations
多态函数
def repr(x): return type(x).__repr__(x)
def str(x): t = type(x) if hasattr(t,'__str__'): return t.__str__(x) else: return repr(x)
接口:
Special Method Names
泛用函数
Property Method
Last updated