Skip to content

Commit 2c87aa0

Browse files
committed
Clarify passing values into a generator in 2.4
1 parent d999392 commit 2c87aa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/howto/functional.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ Passing values into a generator
516516
-------------------------------
517517

518518
In Python 2.4 and earlier, generators only produced output. Once a generator's
519-
code was invoked to create an iterator, there was no way to pass any new
519+
code was invoked to create an iterator, there was no elegant way to pass any new
520520
information into the function when its execution is resumed.
521521

522522
In Python 2.5, :keyword:`yield` became an expression, returning a value that

0 commit comments

Comments
 (0)