PyArg_ParseTuple

Jeff Epler jepler at unpythonic.net
Wed Jun 9 19:34:05 EDT 2004


No.  You need not free(stringarg).

http://docs.python.org/api/arg-parsing.html

    You must not provide storage for the string itself; a pointer to an
    existing string is stored into the character pointer variable whose
    address you pass.


Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20040609/5965a4b1/attachment.sig>


More information about the Python-list mailing list