PyCFunction? What is it?

Greg Ewing greg at
Tue May 30 21:33:03 EDT 2000

Fredrik Lundh wrote:
> ome programmers prefer to write:
>     mymethod(MyOwnObject *self, PyObject *args)

You're quite right. I didn't look at the declarations
in cStringIO carefully enough -- it does exactly that.
So the casts there are not redundant after all.

Greg Ewing, Computer Science Dept,
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at	   +--------------------------------------+

More information about the Python-list mailing list