mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
remove minor redundant code from _asyncio
(#126578)
This commit is contained in:
parent
a93fc0969e
commit
b19d12f447
1 changed files with 1 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
#include "pycore_freelist.h" // _Py_FREELIST_POP()
|
||||
#include "pycore_modsupport.h" // _PyArg_CheckPositional()
|
||||
#include "pycore_moduleobject.h" // _PyModule_GetState()
|
||||
#include "pycore_object.h" // _Py_SetImmortalUntracked
|
||||
#include "pycore_object.h" // _Py_SetImmortalUntracked()
|
||||
#include "pycore_pyerrors.h" // _PyErr_ClearExcState()
|
||||
#include "pycore_pylifecycle.h" // _Py_IsInterpreterFinalizing()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
|
@ -85,8 +85,6 @@ typedef struct {
|
|||
# define ASYNCIO_STATE_UNLOCK(state) ((void)state)
|
||||
#endif
|
||||
|
||||
typedef struct futureiterobject futureiterobject;
|
||||
|
||||
/* State of the _asyncio module */
|
||||
typedef struct {
|
||||
#ifdef Py_GIL_DISABLED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue