Recursive Generator Question
Shalabh Chaturvedi
shalabh at cafepy.com
Fri Sep 3 02:47:25 EDT 2004
More information about the Python-list mailing list
Fri Sep 3 02:47:25 EDT 2004
- Previous message (by thread): Recursive Generator Question
- Next message (by thread): Recursive Generator Question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Shalabh Chaturvedi wrote: > 1. Calling __iter__() should return an object with next() on it. > 2. When you call a function containing yield, it returns a generator. > 3. A generator is function with next() on it. > 3 should be 3. A generator is an object with next() on it. -- Shalabh
- Previous message (by thread): Recursive Generator Question
- Next message (by thread): Recursive Generator Question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list