allow_comments属性
allow_comments属性
指示是否可以附加注意事项。
例子
if s.allow_comments:
pass
定义:
@property
def allow_comments(self):
...
@allow_comments.setter
def allow_comments(self, value):
...
指示是否可以附加注意事项。
if s.allow_comments:
pass
@property
def allow_comments(self):
...
@allow_comments.setter
def allow_comments(self, value):
...