Merge pull request #301 from josteinl/master

Remove not needed dict from example.
This commit is contained in:
Romain Dorgueil
2018-11-28 11:53:09 +01:00
committed by GitHub

View File

@ -135,7 +135,6 @@ Now let's see how to do it correctly:
} }
def new_dict_and_yield(): def new_dict_and_yield():
d = {}
for i in range(100): for i in range(100):
# Different dict each time. # Different dict each time.
yield { yield {