It could be implemented right now for modules, classes and instances
( with a little awkward programming to distinguish between a classes
help and an instances help - if it was necessary to distinguish them. )
but for functions and methods to have attributes would require some
How awkward would that be to support, Guido ?
Ignoring, for the moment, that I have no good suggestion for a
nice syntax, and it might have to be done via something ugly, like:
def func(): ...
setattr( func, '__func__help__', __func__help__ )
How (un-?)reasonable would the support for visible attributes for
functions, methods, etc. be ?
- Steve Majewski