标签:怎样 gen ever possible blog disable html tle 解决
使用Visual Studio Code, 遇到这样的警告,看着不舒服,怎样才能解决掉这个警告呢?
"owner": "python", "code": "unbalanced-tuple-unpacking", "severity": 8, "message": "Possible unbalanced tuple unpacking with sequence: left side has 4 label(s), right side has 0 value(s)", "source": "pylint"
解决方法就是在报出警告的代码行的后面加上注释:“# pylint: disable=unbalanced-tuple-unpacking”。
参考资料
=========
https://github.com/PyCQA/pylint/issues/2061
Possible unbalanced tuple unpacking with sequence
标签:怎样 gen ever possible blog disable html tle 解决
原文地址:https://www.cnblogs.com/awpatp/p/12981273.html