Where do nested functions live?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sat Oct 28 05:39:36 EDT 2006


In <pan.2006.10.28.09.27.23.186368 at REMOVE.THIS.cybersource.com.au>, Steven
D'Aprano wrote:

> Does this mean I'm wasting my time writing doc strings for nested
> functions? If there is no way of accessing them externally, should I make
> them mere # comments?

Whats the difference in "wasted time" between using """ or # as delimiters
for the explanation what the function is doing!?  Or do you ask if you
should not document inner functions at all?  Someone might read the source
and be very happy to find docs(trings) there.

And of course there are inner functions that are returned from the outer
one and on those objects it is possible to inspect and read the docs.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list