方法一:使用装饰器@property , @x.settel @x.deleter方法二:使用x = Property(get,set,delet,’对属性进行说明’)
若有收获,就点个赞吧
0 人点赞
让时间为你证明