mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03:00
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).
This commit is contained in:
parent
39506ee565
commit
301eb7e607
4 changed files with 7 additions and 10 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue