author属性

author属性

获取并设置原始评论的名称 author

例子


comment1.author = "Carl.Yang"

定义:

@property
def author(self):
    ...
@author.setter
def author(self, value):
    ...

也可以看看