From: Johnny Gérard <36079566+johnnygerard@users.noreply.github.com> Date: Mon, 13 May 2019 03:39:32 +0000 (+0200) Subject: Correct misspelling (GH-11470) X-Git-Tag: v3.8.0b1~399 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ef9b8e5054d8bf9e1fcd4c3ba245a16265dc298;p=python Correct misspelling (GH-11470) --- 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: