mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
if we must argue over the/they, we can just remove the unecessary word
This commit is contained in:
parent
175d18840a
commit
22ec5c3639
1 changed files with 1 additions and 1 deletions
|
|
@ -4405,7 +4405,7 @@ Some simple generators can be coded succinctly as expressions using a syntax
|
||||||
similar to 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
|
expressions are designed for situations where the generator is used right
|
||||||
away by an enclosing function. Generator expressions are more compact but
|
away by an enclosing function. Generator expressions are more compact but
|
||||||
less versatile than full generator definitions and they tend to be more memory
|
less versatile than full generator definitions and tend to be more memory
|
||||||
friendly than equivalent list comprehensions.
|
friendly than equivalent list comprehensions.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue