PEP 572: Fix markup
This commit is contained in:
parent
7d1b83a0d3
commit
31841b36cb
|
@ -120,7 +120,7 @@ Under the new semantics, this would instead be equivalent to::
|
|||
numbers = <listcomp>()
|
||||
|
||||
When a class scope is involved, a naive transformation into a function would
|
||||
prevent name lookups (as the function would behave like a method).
|
||||
prevent name lookups (as the function would behave like a method)::
|
||||
|
||||
class X:
|
||||
names = ["Fred", "Barney", "Joe"]
|
||||
|
|
Loading…
Reference in New Issue