diff options
author | Victor Stinner <vstinner@python.org> | 2020-11-09 12:40:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 12:40:47 (GMT) |
commit | 23c5f93b83f78f295313e137011edb18b24c37c2 (patch) | |
tree | 38cc104221c9e283bdb81f9511abe4fced97d67d /Doc/data | |
parent | a117167d8dc8fa673a4646f509551c7950f824e5 (diff) | |
download | cpython-23c5f93b83f78f295313e137011edb18b24c37c2.zip cpython-23c5f93b83f78f295313e137011edb18b24c37c2.tar.gz cpython-23c5f93b83f78f295313e137011edb18b24c37c2.tar.bz2 |
bpo-42294: Add borrowed/strong reference to doc glossary (GH-23206)
Add "borrowed reference" and "strong reference" to the documentation
glossary.
Enhance also Py_INCREF() and Py_NewRef() documentation.
Diffstat (limited to 'Doc/data')
-rw-r--r-- | Doc/data/refcounts.dat | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat index d01e99c..8a6ee71 100644 --- a/Doc/data/refcounts.dat +++ b/Doc/data/refcounts.dat @@ -3007,6 +3007,9 @@ Py_GetVersion:const char*::: Py_INCREF:void::: Py_INCREF:PyObject*:o:+1: +Py_NewRef:void::: +Py_NewRef:PyObject*:o:+1: + Py_Initialize:void::: Py_IsInitialized:int::: @@ -3028,6 +3031,9 @@ Py_XDECREF:PyObject*:o:-1:if o is not NULL Py_XINCREF:void::: Py_XINCREF:PyObject*:o:+1:if o is not NULL +Py_XNewRef:void::: +Py_XNewRef:PyObject*:o:+1:if o is not NULL + _PyImport_Fini:void::: _PyObject_New:PyObject*::+1: |