PyCFunction? What is it?

Stephen Hansen stephen at cerebralmaelstrom.com
Mon May 29 02:20:15 EDT 2000


In the process of doing my embedding, I looked at some files in Modules\* to
get examples of various functions, INC/DECrementing and so on and so forth..

I noticed that the method-tables cast the function names in the Modules\*
dir (cStringIO specifically) to PyCFunction, and that the embedding-demo did
not.

What *is* PyCFunction and do method defs need to be cast to it?

(I also found where to put doc strings this way..whee..which I didn't notice
in the actual docs :))

--S





More information about the Python-list mailing list