Ian Bicking: the old part of his blog

Re: Dynamic __doc__

That might be an interesting place to park some information. Consider testing, when you may want remember the number of times a function was called, without cluttering up the standard output. Hmm....

Comment on Dynamic __doc__
by Chris


Oh, ew, don't go adding programmatic meaningfulness to doc comments :-).

If you want to store that kind of info, why not just stick it in another attribute on the function (or other callable) object?

# Nathaniel Smith