PEP 572: Fix markup (wow, I pushed the same bug twice in one day...)
This commit is contained in:
parent
6c0985fc9a
commit
c51be3df34
|
@ -407,7 +407,7 @@ Name lookups in class scope
|
|||
|
||||
A comprehension inside a class previously was able to 'see' class members ONLY
|
||||
from the outermost iterable. Other name lookups would ignore the class and
|
||||
potentially locate a name at an outer scope:
|
||||
potentially locate a name at an outer scope::
|
||||
|
||||
pattern = "<%d>"
|
||||
class X:
|
||||
|
|
Loading…
Reference in New Issue