File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4402,10 +4402,10 @@ \section{Generators\label{generators}}
44024402\section {Generator Expressions\label {genexps } }
44034403
44044404Some simple generators can be coded succinctly as expressions using a syntax
4405- like list comprehensions but with parentheses instead of brackets. These
4405+ similar to list comprehensions but with parentheses instead of brackets. These
44064406expressions are designed for situations where the generator is used right
44074407away by an enclosing function. Generator expressions are more compact but
4408- less versatile than full generator definitions and the tend to be more memory
4408+ less versatile than full generator definitions and they tend to be more memory
44094409friendly than equivalent list comprehensions.
44104410
44114411Examples:
You can’t perform that action at this time.
0 commit comments