Creating an iterator in a class

Joseph L. Casale jcasale at activenetwerx.com
Thu Dec 27 16:45:37 CET 2012


>Have the method yield instead of returning:

Thanks, that was simple, I was hung up on implementing magic methods.

Thanks for the pointers guys!
jlc


More information about the Python-list mailing list