Please explain the meaning of 'stealing' a ref

KefX keflimarcusx at aol.comNOSPAM
Tue Nov 4 04:19:27 CET 2003


> what exactly is the meaning of a function
>"stealing a reference"?

It decrements the reference count. If you still need the reference, Py_INCREF()
it beforehand.

- Kef





More information about the Python-list mailing list