We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 596d360 commit 9e55e15Copy full SHA for 9e55e15
Notes/06_Generators/01_Iteration_protocol.md
@@ -42,9 +42,9 @@ _iter = obj.__iter__() # Get iterator object
42
while True:
43
try:
44
x = _iter.__next__() # Get next item
45
+ # statements ...
46
except StopIteration: # No more items
47
break
- # statements ...
48
```
49
50
All the objects that work with the `for-loop` implement this low-level
0 commit comments