We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0588100 commit 0c4e0d5Copy full SHA for 0c4e0d5
1 file changed
coroutines.rst
@@ -26,7 +26,7 @@ We then commonly use it in a ``for`` loop like this:
26
print(i)
27
28
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.
+**generates** the values on the fly rather than storing them in a list.
30
Now, if we use ``yield`` in the above example, more generally, we get a
31
coroutine. Coroutines consume values which are sent to it. A very basic
32
example would be a ``grep`` alternative in Python:
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments