错误信息:This inspection detects shadowing names defined in outer scopes.
检查到波浪处的单词已在函数外部定义。
解决:使用global关键字或nonlocal 关键字或改名
错误信息:This inspection detects shadowing names defined in outer scopes.
检查到波浪处的单词已在函数外部定义。
解决:使用global关键字或nonlocal 关键字或改名
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。