摘要: 类中@property与@xxx.setter的方法介绍。 简单说,@property就是将定义的函数(方法)当作属性对象使用,不需要像调用函数那样去调用,而@xxx.setter是为@xxx的这样函数进行值的设置, 就是可以用@xxx.setter为xxx的函数进行值的更改,在@xxx.sette 阅读全文
posted @ 2019-12-21 23:34 tangjunjun 阅读(3832) 评论(0) 推荐(2) 编辑
https://rpc.cnblogs.com/metaweblog/tangjunjun