Please explain the meaning of 'stealing' a ref

KefX keflimarcusx at aol.comNOSPAM
Mon Nov 3 22:19:27 EST 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