Mercurial > cpython-lru_cache-weakref
diff Include/object.h @ 46175:efef4e3fed17 legacy-trunk
NIL => NULL
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Fri, 28 Mar 2008 23:11:01 +0000 |
| parents | f11c00246fb5 |
| children | 5e636c9d61ae |
line wrap: on
line diff
--- a/Include/object.h Fri Mar 28 22:43:38 2008 +0000 +++ b/Include/object.h Fri Mar 28 23:11:01 2008 +0000 @@ -643,7 +643,7 @@ objects that don't contain references to other objects or heap memory this can be the standard function free(). Both macros can be used wherever a void expression is allowed. The argument must not be a -NIL pointer. If it may be NIL, use Py_XINCREF/Py_XDECREF instead. +NULL pointer. If it may be NULL, use Py_XINCREF/Py_XDECREF instead. The macro _Py_NewReference(op) initialize reference counts to 1, and in special builds (Py_REF_DEBUG, Py_TRACE_REFS) performs additional bookkeeping appropriate to the special build.
