msoulier wrote:

>> (and if you don't, you can quickly comment out regions by putting them
>> inside a triple-quoted string.)
> 
> Although that will use up memory, as opposed to a comment.
 
Doesn't seem so:

>>> def f():
...     "docstring"
...     "another string"
...     a = 42
...     "yet another string"
...
>>> f.func_code.co_consts
('docstring', 42, None)
>>>

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

Reply via email to