From 8eca0b9e79fb588e5c6fc51fe45012bc186d3c19 Mon Sep 17 00:00:00 2001 From: David Peter Date: Thu, 3 Jul 2025 10:24:23 +0200 Subject: [PATCH] public => nonlocal --- crates/ty_python_semantic/resources/mdtest/unreachable.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ty_python_semantic/resources/mdtest/unreachable.md b/crates/ty_python_semantic/resources/mdtest/unreachable.md index 2d01b4dbbf..691b7f23f8 100644 --- a/crates/ty_python_semantic/resources/mdtest/unreachable.md +++ b/crates/ty_python_semantic/resources/mdtest/unreachable.md @@ -241,9 +241,9 @@ def f(): ### Use of variable in nested function -This is a regression test for a behavior that previously caused problems when the public type still -referred to the end-of-scope, which would result in an unresolved-reference error here since the end -of the scope is unreachable. +This is a regression test for a behavior that previously caused problems when the nonlocal type +still referred to the end-of-scope, which would result in an unresolved-reference error here since +the end of the scope is unreachable. ```py def outer():