IDLE 0.5 Function parameter display?
Sam Schulenburg
samschul at pacbell.net
Tue Jun 22 11:33:54 EDT 1999
Thanks Mark;
I founnd that the following will also work. I do not know if it is an
acceptable solution.
from MyDll import my_func # first I import the function from my dll
my_func.__doc__ = "This is my documentation string"
Mark Hammond wrote in message <7ko57c$cfk$1 at m2.c2.telstra-mm.net.au>...
>The best way at the moment is to add a docstring to the function in the C
>code. If you look at the help provided for (eg) string.split, it is quite
>effective even though it is only from the docstring.
>
>Mark.
>
>Sam Schulenburg wrote in message <7kmpnu$red$1 at nnrp1.deja.com>...
>>I love the ability of IDLE 0.5 to display the function parameter
>>requirements as defined in the original function definition. My problem
>>is when I have a function defined in a windows dll written in 'C', then
>
>
>
More information about the Python-list
mailing list