https://github.com/python/cpython/commit/6f90399c23783a5b51be194b02d30d7908d6afc2
commit: 6f90399c23783a5b51be194b02d30d7908d6afc2
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: erlend-aasland <[email protected]>
date: 2024-01-05T01:17:15+01:00
summary:

[3.12] gh-113696: Docs: Annotate PyObject_CallOneArg and PyObject_CallNoArgs as 
returning a strong reference (GH-113697) (#113698)

(cherry picked from commit 1ae7ceba29771baf8f2e8d2d4c50a0355cb6b5c8)

Co-authored-by: Jamie Phan <[email protected]>

files:
M Doc/data/refcounts.dat

diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat
index ee64ffdc91662e..1571a33e3bfec2 100644
--- a/Doc/data/refcounts.dat
+++ b/Doc/data/refcounts.dat
@@ -1607,6 +1607,13 @@ PyObject_Call:PyObject*:callable_object:0:
 PyObject_Call:PyObject*:args:0:
 PyObject_Call:PyObject*:kw:0:
 
+PyObject_CallNoArgs:PyObject*::+1:
+PyObject_CallNoArgs:PyObject*:callable_object:0:
+
+PyObject_CallOneArg:PyObject*::+1:
+PyObject_CallOneArg:PyObject*:callable_object:0:
+PyObject_CallOneArg:PyObject*:arg:0:
+
 PyObject_CallFunction:PyObject*::+1:
 PyObject_CallFunction:PyObject*:callable_object:0:
 PyObject_CallFunction:const char*:format::

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to