diff --git a/pep-0677.rst b/pep-0677.rst index 2e1821764..ca139804e 100644 --- a/pep-0677.rst +++ b/pep-0677.rst @@ -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