PEP 677: fix typo in example (#2236)
This commit is contained in:
parent
8513edec8d
commit
bb0bf67c26
|
@ -39,7 +39,7 @@ Consider the following untyped code::
|
|||
def flat_map(l, func):
|
||||
out = []
|
||||
for element in l:
|
||||
out.extend(f(element))
|
||||
out.extend(func(element))
|
||||
return out
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue