]> granicus.if.org Git - python/commitdiff
Add to the comment a description of the "null" value for returned
authorFred Drake <fdrake@acm.org>
Mon, 10 Apr 2000 18:29:21 +0000 (18:29 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 10 Apr 2000 18:29:21 +0000 (18:29 +0000)
PyObject* values.

Doc/api/refcounts.dat

index 8da1bf2ebe424c94de770ca9f50cbf48bde22dc7..0e9374ef01ea19498aa648fcc6b02b89fb8e8204 100644 (file)
 # Refcount behavior is given for all PyObject* types: 0 (no change), +1
 # (increment) and -1 (decrement).  A blank refcount field indicates the
 # parameter or function value is not a PyObject* and is therefore not
-# subject to reference counting.
+# subject to reference counting.  A special case for the value "null"
+# (without quotes) is used for functions which return a PyObject* type but
+# always return NULL.  This is used by some of the PyErr_*() functions, in
+# particular.
 
 # The parameter names are as they appear in the API manual, not the source
 # code.