We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11e7299 commit 9ba2eccCopy full SHA for 9ba2ecc
pylint/checkers/variables.py
@@ -408,8 +408,7 @@ def _has_locals_call_after_node(stmt, scope):
408
"Emitted when a local variable is accessed before its assignment took place. "
409
"Assignments in try blocks are assumed not to have occurred when evaluating "
410
"associated except/finally blocks. Assignments in except blocks are assumed "
411
- "not to have occurred, except when the associated try block contains a return "
412
- "statement.",
+ "not to have occurred when evaluating statements after the block.",
413
),
414
"E0602": (
415
"Undefined variable %r",
0 commit comments