Skip to content

Commit 8542652

Browse files
improve description
1 parent 92fb824 commit 8542652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pylint/checkers/variables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ 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 outside the block, except "
412+
"when the associated try block contains a return statement.",
413413
),
414414
"E0602": (
415415
"Undefined variable %r",

0 commit comments

Comments
 (0)