On 8/1/2010 4:30 AM, Gregory Ewing wrote:
Steven D'Aprano wrote:

If you mean a runtime optimization with no change to the source file,
then maybe, tell me more.

Note that you don't necessarily need a separate file for this.
It could just be a separate part of the same file.

Which is to say, all the docstrings in a modules *could* be placed at the end and not normally read in by the interpreter until needed. I have no idea what it does now, but I suspect not that. It might make module loading a bit faster.


--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to