By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,530 Members | 1,578 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,530 IT Pros & Developers. It's quick & easy.

PyList_Append requires explicit Py_INCREF after?

P: n/a
PyList_Append requires explicit Py_INCREF after?

(I didn't see in docs where it said if appends a new reference
or a borrowed reference like other APIs.)

thanks!

Chris

Jul 5 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
se******@spawar.navy.mil wrote:
PyList_Append requires explicit Py_INCREF after?

(I didn't see in docs where it said if appends a new reference
or a borrowed reference like other APIs.)
if successful, PyList_Append(seq, item) increments the reference count
for item.

</F>

Jul 5 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.