|
@ -239,7 +239,7 @@ def count(start, step): |
|
|
(10, 12, 14) |
|
|
(10, 12, 14) |
|
|
``` |
|
|
``` |
|
|
### Recursive generator |
|
|
### Recursive generator |
|
|
* **Generators can be recursive using the yield from statment.** |
|
|
|
|
|
|
|
|
* **Generators can be recursive using the yield from statement.** |
|
|
|
|
|
|
|
|
```python |
|
|
```python |
|
|
def depth_first(trie, current_word = ''): |
|
|
def depth_first(trie, current_word = ''): |
|
|