https://github.com/python/cpython/commit/b19d12f44735583e339ee6ee560588fcf22633b4
commit: b19d12f44735583e339ee6ee560588fcf22633b4
branch: main
author: Kumar Aditya <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2024-11-08T13:17:03Z
summary:
remove minor redundant code from `_asyncio` (#126578)
files:
M Modules/_asynciomodule.c
diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c
index 58b57ae7a983c2..617a3dca35d9c2 100644
--- a/Modules/_asynciomodule.c
+++ b/Modules/_asynciomodule.c
@@ -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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]