解析 这个错误提示一般发生在将None赋值给多个属性时,例如 def fit(): print('示例') x,y = fit() 在没有return语句时,python默认返回None,就会发生这个异常