会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
tangjunjun
博客园
首页
新随笔
联系
订阅
管理
2019年12月21日
@property与@xxx.setter的用法
摘要: 类中@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