[Python-Dev] accumulator display syntax
Guido van Rossum
guido at python.org
Fri Oct 24 12:12:30 EDT 2003
> The underlying generator function could still be created at
> compile-time and it (or its code object?) stored in the current
> function's constants.
No, the code object would be stored in the constants; the function
object would be created each time around the loop.
Good thing it came from an example that Tim himself didn't like. :-)
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list