On 03/03/2010 04:48 PM, Steven D'Aprano wrote: > Or one can simply use *reason*: what justification is there for putting > comments in strings at the top of the function? The only one I can see is > if you are writing for an embedded device, you may want to remove doc > strings to save memory -- and even that is implementation dependent.
Python already have a well-defined mechanism to remove docstrings with the -O flag; there is really no other reason but plain ignorance and inflexibility to think in other language than <insert-your-first-language-here>. -- http://mail.python.org/mailman/listinfo/python-list