summaryrefslogtreecommitdiffstats
path: root/Doc/data/refcounts.dat
diff options
context:
space:
mode:
authorYury Selivanov <yury@edgedb.com>2021-09-07 10:52:30 (GMT)
committerGitHub <noreply@github.com>2021-09-07 10:52:30 (GMT)
commit2c3474a637949aa6f2f7e15f9764c2dfc49cdba1 (patch)
treed19d7d6dbdeb410d2413711b9610bc4344fd12ef /Doc/data/refcounts.dat
parenteb254b43d2916ef8c0e9ca815fe047411d848aae (diff)
downloadcpython-2c3474a637949aa6f2f7e15f9764c2dfc49cdba1.zip
cpython-2c3474a637949aa6f2f7e15f9764c2dfc49cdba1.tar.gz
cpython-2c3474a637949aa6f2f7e15f9764c2dfc49cdba1.tar.bz2
bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194)
Fix PyAiter_Check to only check for the `__anext__` presense (not for `__aiter__`). Rename `PyAiter_Check()` to `PyAIter_Check()`, `PyObject_GetAiter()` -> `PyObject_GetAIter()`. Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Diffstat (limited to 'Doc/data/refcounts.dat')
-rw-r--r--Doc/data/refcounts.dat8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat
index 3ef1b28..1694cad 100644
--- a/Doc/data/refcounts.dat
+++ b/Doc/data/refcounts.dat
@@ -1073,8 +1073,8 @@ PyInterpreterState_New:PyInterpreterState*:::
PyIter_Check:int:::
PyIter_Check:PyObject*:o:0:
-PyAiter_Check:int:::
-PyAiter_Check:PyObject*:o:0:
+PyAIter_Check:int:::
+PyAIter_Check:PyObject*:o:0:
PyIter_Next:PyObject*::+1:
PyIter_Next:PyObject*:o:0:
@@ -1700,8 +1700,8 @@ PyObject_GetItem:PyObject*:key:0:
PyObject_GetIter:PyObject*::+1:
PyObject_GetIter:PyObject*:o:0:
-PyObject_GetAiter:PyObject*::+1:
-PyObject_GetAiter:PyObject*:o:0:
+PyObject_GetAIter:PyObject*::+1:
+PyObject_GetAIter:PyObject*:o:0:
PyObject_HasAttr:int:::
PyObject_HasAttr:PyObject*:o:0: