mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Add to the comment a description of the "null" value for returned
PyObject* values.
This commit is contained in:
parent
c2578c5bb6
commit
8394595f3b
1 changed files with 4 additions and 1 deletions
|
|
@ -16,7 +16,10 @@
|
|||
# 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue