diff --git a/pep-0289.txt b/pep-0289.txt index 953577bfa..1dcac0aa0 100644 --- a/pep-0289.txt +++ b/pep-0289.txt @@ -33,7 +33,7 @@ is no longer needed, delete the list:: sum([x*x for x in range(10)]) -Memory is conserved by using a generator expession instead:: +Memory is conserved by using a generator expression instead:: sum(x*x for x in range(10))