mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
SF #966375: Fix typo (Reported by Kristian Ovaska)
This commit is contained in:
parent
4ec44e851d
commit
2d6783b4bc
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ Now, simple generators can be coded succinctly as expressions using a syntax
|
||||||
like list comprehensions but with parentheses instead of brackets. These
|
like 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 the tend to be more memory
|
less versatile than full generator definitions and they tend to be more memory
|
||||||
friendly than equivalent list comprehensions.
|
friendly than equivalent list comprehensions.
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue