]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unused headers from _asynciomodule.c file (#132047)
authorSrinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) <thatiparthysreenivas@gmail.com>
Wed, 16 Apr 2025 18:20:41 +0000 (23:50 +0530)
committerGitHub <noreply@github.com>
Wed, 16 Apr 2025 18:20:41 +0000 (18:20 +0000)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Modules/_asynciomodule.c

index b32db3a277cf4ac1745161a4f44863123147f54c..134cfd8540557d56568cb5fae5e02fc05491b93c 100644 (file)
@@ -3,8 +3,6 @@
 #endif
 
 #include "Python.h"
-#include "pycore_critical_section.h"  // Py_BEGIN_CRITICAL_SECTION_MUT()
-#include "pycore_dict.h"          // _PyDict_GetItem_KnownHash()
 #include "pycore_freelist.h"      // _Py_FREELIST_POP()
 #include "pycore_genobject.h"
 #include "pycore_llist.h"         // struct llist_node
@@ -12,7 +10,6 @@
 #include "pycore_modsupport.h"    // _PyArg_CheckPositional()
 #include "pycore_moduleobject.h"  // _PyModule_GetState()
 #include "pycore_object.h"        // _PyObject_SetMaybeWeakref
-#include "pycore_pyerrors.h"      // _PyErr_ClearExcState()
 #include "pycore_pylifecycle.h"   // _Py_IsInterpreterFinalizing()
 #include "pycore_pystate.h"       // _PyThreadState_GET()
 #include "pycore_runtime_init.h"  // _Py_ID()