摘要: Python Day 24 面向对象进阶(双下方法 __new__ __del__ item 异常处理) __init__ 初始化方法 __new__ 构造方法(申请内存空间) class A: def __init__(self): print('init') def __new__(cls, * 阅读全文
posted @ 2018-05-31 14:29 eailoo 阅读(110) 评论(0) 推荐(0) 编辑