Skip to content

Commit

Permalink
Fixes #148
Browse files Browse the repository at this point in the history
  • Loading branch information
scottwedge committed Jun 26, 2020
1 parent 9309042 commit b423a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/igd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ They are not re-usable.
... print(c)
...

One way to create a reusable generator is Object based generators which does not hold any state. Any class with a *__iter__* method which yields data can be used as a object generator.
In the following example we will recreate out counter generator.
One way to create a reusable generator is Object based generators which do not hold any state. Any class with a *__iter__* method which yields data can be used as an object generator.
In the following example we will recreate our counter generator.

::

Expand Down

0 comments on commit b423a34

Please sign in to comment.