Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0c4e0d5

Browse files
committed
Typo in coroutines.rst
Typo in line 29, it should be "rather than"
1 parent 0588100 commit 0c4e0d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎coroutines.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ We then commonly use it in a ``for`` loop like this:
2626
print(i)
2727
2828
It is fast and does not put a lot of pressure on memory because it
29-
**generates** the values on the fly rather then storing them in a list.
29+
**generates** the values on the fly rather than storing them in a list.
3030
Now, if we use ``yield`` in the above example, more generally, we get a
3131
coroutine. Coroutines consume values which are sent to it. A very basic
3232
example would be a ``grep`` alternative in Python:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /