PyArg_BuildValue, how to return a PyString object?
Chris Barker
Chris.Barker at noaa.gov
Tue Apr 2 12:10:53 EST 2002
Michael Hudson wrote:
> No. Rememebr to DECREF "O" args after calling Py_BuildValue --
> something I'm always forgetting.
Can't you use "N" instead? That seems to have worked for me.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the Python-list
mailing list