occurrs -> occurs typo (#725)
This commit is contained in:
parent
d6fcb1c735
commit
8606d403fb
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue