Alternative docstring implementation (Re: doc strings and efficiency)

Greg Ewing greg at cosc.canterbury.ac.nz
Tue Oct 2 21:36:55 EDT 2001


Instead of keeping docstrings in memory, perhaps the
interpreter should just keep a reference to their locations 
in the .pyc file, and pull them out when the __doc__
attribute is referenced.

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list