Skip to content

Commit b19d12f

Browse files
remove minor redundant code from _asyncio (#126578)
1 parent a93fc09 commit b19d12f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Modules/_asynciomodule.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "pycore_freelist.h" // _Py_FREELIST_POP()
99
#include "pycore_modsupport.h" // _PyArg_CheckPositional()
1010
#include "pycore_moduleobject.h" // _PyModule_GetState()
11-
#include "pycore_object.h" // _Py_SetImmortalUntracked
11+
#include "pycore_object.h" // _Py_SetImmortalUntracked()
1212
#include "pycore_pyerrors.h" // _PyErr_ClearExcState()
1313
#include "pycore_pylifecycle.h" // _Py_IsInterpreterFinalizing()
1414
#include "pycore_pystate.h" // _PyThreadState_GET()
@@ -85,8 +85,6 @@ typedef struct {
8585
# define ASYNCIO_STATE_UNLOCK(state) ((void)state)
8686
#endif
8787

88-
typedef struct futureiterobject futureiterobject;
89-
9088
/* State of the _asyncio module */
9189
typedef struct {
9290
#ifdef Py_GIL_DISABLED

0 commit comments

Comments
 (0)