.inc.qhelp extension for included help files
<!DOCTYPE qhelp PUBLIC"-//Semmle//qhelp//EN""qhelp.dtd"><qhelp><overview><p> A local variable is defined (by an assignment) but never used.</p><include src="UnusedVariableNaming.inc.qhelp" /><include src="UnusedTuple.inc.qhelp" /></overview><recommendation><p>If the variable is included for documentation purposes or is otherwise intentionally unused, then change its name to indicate that it is unused,otherwise delete the assignment (taking care not to delete right hand side if it has side effects).</p></recommendation><example><p>In this example, the <code>random_no</code> variable is never read but its assignmenthas a side effect. Because of this it is important to remove only the left hand side of theassignment in line 10.</p><sample src="UnusedLocalVariable.py" /></example><references><li>Python: <a href="http://docs.python.org/2/reference/simple_stmts.html#assignment-statements">Assignment statements</a>.</li></references></qhelp>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。