Skip to content

Commit 9ba2ecc

Browse files
Don't promise the changes in a pending PR
1 parent 11e7299 commit 9ba2ecc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pylint/checkers/variables.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,7 @@ def _has_locals_call_after_node(stmt, scope):
408408
"Emitted when a local variable is accessed before its assignment took place. "
409409
"Assignments in try blocks are assumed not to have occurred when evaluating "
410410
"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.",
411+
"not to have occurred when evaluating statements after the block.",
413412
),
414413
"E0602": (
415414
"Undefined variable %r",

0 commit comments

Comments
 (0)