PEP 677: fix typo in example (#2236)

This commit is contained in:
Steven Troxler 2022-01-13 07:22:30 -08:00 committed by GitHub
parent 8513edec8d
commit bb0bf67c26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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