报错TypeError: can't set attributes of built-in/extension type 'str'

问题描述:

TypeError: can't set attributes of built-in/extension type 'str'

这个是什么语法问题?怎么解决?求解答

意思是你不可以给str类型添加属性
光有报错没有告诉你哪句代码出错吗,放出来看看啊