Skip to content

Commit e53f386

Browse files
committed
oopsies
1 parent 4b197f3 commit e53f386

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

advanced/iters.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ iterators** with some more features that we don't need to care about.
290290

291291
The generator we got works just like other iterators:
292292

293+
```py
293294
>>> c = thingy()
294295
>>> t
295296
<generator object thingy at 0xb72300f4>
@@ -310,6 +311,7 @@ StopIteration
310311
2
311312
3
312313
>>>
314+
```
313315

314316
This whole thing may feel kind of insane. If we add some parts between
315317
the yields, when do they run? How does Python know when to run what?

images/drawings.odg

-66 Bytes
Binary file not shown.

images/generators.png

-439 Bytes
Loading

0 commit comments

Comments
 (0)