From 3074bee66373e795823f93990d46dcac9a522833 Mon Sep 17 00:00:00 2001 From: ajtag Date: Mon, 28 Sep 2026 20:48:47 +0100 Subject: [PATCH] Update 02_Foundations--Tour.md fix typo --- Chapters/02_Foundations--Tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapters/02_Foundations--Tour.md b/Chapters/02_Foundations--Tour.md index a44b7489..90fefdd4 100644 --- a/Chapters/02_Foundations--Tour.md +++ b/Chapters/02_Foundations--Tour.md @@ -85,7 +85,7 @@ except NameError as e: The `if` never runs, so `val` is never bound. Indentation shows where the assignment sits, not whether it runs. -`ty` sees that nothing ever defines `val` and reports an error on that line, +`try` sees that nothing ever defines `val` and reports an error on that line, so `# type: ignore` tells it the mistake is deliberate. Indenting can nest as deeply as you like.