I'm making special versions of existing functions,
and now I want the help-text of the newly created function to exists of
1. an extra line from my new function
2. all the help text from the old function
# the old function
def triang(M,sym=1):
The M-point triangular window.== old help
maybe you should make use of the objects' __doc__ attribute which
holds the appropriate docstring. try to append something to it in the
constructor. :)
more on this in the manual:
http://docs.python.org/tut/node11.html#SECTION001130
On Jan 28, 4:58 pm, Stef Mientki [EMAIL
Stef Mientki [EMAIL PROTECTED] writes:
I'm making special versions of existing functions,
and now I want the help-text of the newly created function to exists of
1. an extra line from my new function
2. all the help text from the old function
# the old function
def triang(M,sym=1):
Stef Mientki schrieb:
I'm making special versions of existing functions,
and now I want the help-text of the newly created function to exists of
1. an extra line from my new function
2. all the help text from the old function
# the old function
def triang(M,sym=1):
The M-point
I'm making special versions of existing functions,
and now I want the help-text of the newly created function to exists of
snip
Don't you think your users can follow this easy reference theirselves?
My public consist of physicians with some knowledge of MatLab.
I'm trying to give them a