摘要: types.MethodType __slot__ @property, @xxx.setter Python的多重继承和MinIn 如何在class创建后,给实例绑定属性和方法? (动态绑定/定义) class Student(object): pass s = Student() s.name 阅读全文
posted @ 2019-11-10 11:06 Mr-chen 阅读(383) 评论(0) 推荐(0)