author属性
author属性
获取并设置原始注意事项的名称 author
例子
comment1.author = "Carl.Yang"
定义:
@property
def author(self):
...
@author.setter
def author(self, value):
...
获取并设置原始注意事项的名称 author
comment1.author = "Carl.Yang"
@property
def author(self):
...
@author.setter
def author(self, value):
...