mirror of
https://github.com/python/cpython
synced 2026-09-29 08:25:30 +03:00
Fix typo: the-->they
This commit is contained in:
parent
6dfed6c41f
commit
2d1a2aa117
1 changed files with 2 additions and 2 deletions
|
|
@ -4402,10 +4402,10 @@ more effort than writing a regular function.
|
|||
\section{Generator Expressions\label{genexps}}
|
||||
|
||||
Some simple generators can be coded succinctly as expressions using a syntax
|
||||
like list comprehensions but with parentheses instead of brackets. These
|
||||
similar to list comprehensions but with parentheses instead of brackets. These
|
||||
expressions are designed for situations where the generator is used right
|
||||
away by an enclosing function. Generator expressions are more compact but
|
||||
less versatile than full generator definitions and the tend to be more memory
|
||||
less versatile than full generator definitions and they tend to be more memory
|
||||
friendly than equivalent list comprehensions.
|
||||
|
||||
Examples:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue