occurrs -> occurs typo (#725)

This commit is contained in:
JimJJewett 2018-07-10 12:29:03 -04:00 committed by Guido van Rossum
parent d6fcb1c735
commit 8606d403fb
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ or ``[[(j := j) for i in range(5)] for j in range(5)]``. Note that
this exception also applies to ``[i := 0 for i, j in stuff]``, as well this exception also applies to ``[i := 0 for i, j in stuff]``, as well
as to cases like ``[i+1 for i in i := stuff]``. as to cases like ``[i+1 for i in i := stuff]``.
A further exception applies when an assignment expression occurrs in a A further exception applies when an assignment expression occurs in a
comprehension whose containing scope is a class scope. If the rules comprehension whose containing scope is a class scope. If the rules
above were to result in the target being assigned in that class's above were to result in the target being assigned in that class's
scope, the assignment expression is expressly invalid. scope, the assignment expression is expressly invalid.