help:python:data_class
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
help:python:data_class [2020/08/11 14:48] – [Data Class in Python] gerhard | help:python:data_class [2020/08/11 14:50] – [Data Class in Python] gerhard | ||
---|---|---|---|
Line 22: | Line 22: | ||
- | Also note the `__iter__` function is the classes and the `yield` instead of `return` that allows iteration in the `__iter__` function without the need for a `__next__` function | + | Also note the '' |
<code python> | <code python> |
help/python/data_class.txt · Last modified: 2020/08/11 15:04 by gerhard