Re: On-line help for Python
jredford@lehman.com
Mon, 15 Nov 93 16:32:38 -0500
>> 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(): ...
>> def __func__help__():
>> setattr( func, '__func__help__', __func__help__ )
>>
>> How (un-?)reasonable would the support for visible attributes for
>> functions, methods, etc. be ?
I think it might be best to have __help__ be the string containing the
documentation itself. I woudlnt want to deal with a new pile of
functions all doing their own documentation thing. Moreover, how do
you document the documentation functions?
--
John Redford (AKA GArrow) | 3,600 hours of tape.
jredford@lehman.com | 5 cans of Scotchguard.