Creating an iterator in a class

Joseph L. Casale jcasale at activenetwerx.com
Thu Dec 27 10:45:37 EST 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