From 4ef9b8e5054d8bf9e1fcd4c3ba245a16265dc298 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johnny=20G=C3=A9rard?= <36079566+johnnygerard@users.noreply.github.com> Date: Mon, 13 May 2019 05:39:32 +0200 Subject: [PATCH] Correct misspelling (GH-11470) --- Doc/reference/expressions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index cf7d05eef6..79ba4568a5 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -196,7 +196,7 @@ the comprehension is executed in a separate implicitly nested scope. This ensure that names assigned to in the target list don't "leak" into the enclosing scope. The iterable expression in the leftmost :keyword:`!for` clause is evaluated -directly in the enclosing scope and then passed as an argument to the implictly +directly in the enclosing scope and then passed as an argument to the implicitly nested scope. Subsequent :keyword:`!for` clauses and any filter condition in the leftmost :keyword:`!for` clause cannot be evaluated in the enclosing scope as they may depend on the values obtained from the leftmost iterable. For example: -- 2.40.0