We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b197f3 commit e53f386Copy full SHA for e53f386
advanced/iters.md
@@ -290,6 +290,7 @@ iterators** with some more features that we don't need to care about.
290
291
The generator we got works just like other iterators:
292
293
+```py
294
>>> c = thingy()
295
>>> t
296
<generator object thingy at 0xb72300f4>
@@ -310,6 +311,7 @@ StopIteration
310
311
2
312
3
313
>>>
314
+```
315
316
This whole thing may feel kind of insane. If we add some parts between
317
the yields, when do they run? How does Python know when to run what?
images/drawings.odg
-66 Bytes
images/generators.png
-439 Bytes
0 commit comments