[PyKDE] Docstrings in sip (?)

Donovan Rebbechi elflord at andromeda.rutgers.edu
Sun Jul 28 12:11:21 BST 2002


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 }
  };

Cheers,
-- 
Donovan




More information about the PyQt mailing list