text属性

text属性

设置text节点的内容(通常每个字符一个节点对象)。

定义:

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

也可以看看