[PyKDE] Docstrings in sip (?)

Phil Thompson phil at river-bank.demon.co.uk
Sun Jul 28 12:53:00 BST 2002


Donovan Rebbechi wrote:

> Is it possible to get sip to embed docstrings for functions ? That is, I'd
> like a string literal in place of the NULL. Of course I could 'sed' away
> at the generated code, but I'd rather avoid such brittle hackery if sip
> already supports what I'm trying to do. (Also, is it possible to override
> METH_VARARGS ?)
> 
>   static PyMethodDef globfuncs[] = {
>    ...
>         {sipName_RUMBA_bind, sipDo_bind, METH_VARARGS, NULL},
>                                                        ^^^^
>    ...
>    ,
>    { NULL }
>   };


No and no I'm afraid.

Phil




More information about the PyQt mailing list