summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-29 02:05:11 (GMT)
committerGitHub <noreply@github.com>2023-08-29 02:05:11 (GMT)
commit301eb7e607be6ea15c7a1e792f1cb927ba423932 (patch)
treee3a3130b50db6abbca66ba1d04dbc6122bc7d758 /Include
parent39506ee565ce819e14e8071227fc53b8dcb6a788 (diff)
downloadcpython-301eb7e607be6ea15c7a1e792f1cb927ba423932.zip
cpython-301eb7e607be6ea15c7a1e792f1cb927ba423932.tar.gz
cpython-301eb7e607be6ea15c7a1e792f1cb927ba423932.tar.bz2
gh-106320: Remove _PyAnextAwaitable_Type from the public C API (#108597)
It's not needed to declare it in Include/iterobject.h: just use "extern" where it's used (only in object.c).
Diffstat (limited to 'Include')
-rw-r--r--Include/iterobject.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/iterobject.h b/Include/iterobject.h
index fff30f7..e69d097 100644
--- a/Include/iterobject.h
+++ b/Include/iterobject.h
@@ -7,9 +7,6 @@ extern "C" {
PyAPI_DATA(PyTypeObject) PySeqIter_Type;
PyAPI_DATA(PyTypeObject) PyCallIter_Type;
-#ifdef Py_BUILD_CORE
-extern PyTypeObject _PyAnextAwaitable_Type;
-#endif
#define PySeqIter_Check(op) Py_IS_TYPE((op), &PySeqIter_Type)