PEP 572: Fix markup

This commit is contained in:
Chris Angelico 2018-04-13 09:29:27 +10:00
parent 7d1b83a0d3
commit 31841b36cb
1 changed files with 1 additions and 1 deletions

View File

@ -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"]