summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-29 01:20:02 (GMT)
committerGitHub <noreply@github.com>2023-08-29 01:20:02 (GMT)
commit39506ee565ce819e14e8071227fc53b8dcb6a788 (patch)
tree999ccd8c1607099b7bac889089341ba32c193986 /Modules
parent4fb96a11db5eaca3646bfa697d191469e567d283 (diff)
downloadcpython-39506ee565ce819e14e8071227fc53b8dcb6a788.zip
cpython-39506ee565ce819e14e8071227fc53b8dcb6a788.tar.gz
cpython-39506ee565ce819e14e8071227fc53b8dcb6a788.tar.bz2
gh-108240: Add pycore_capsule.h internal header file (#108596)
Move _PyCapsule_SetTraverse() definition to a new internal header file: pycore_capsule.h.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 8cc45e2..e368185 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -106,6 +106,7 @@ Local naming conventions:
#endif
#include "Python.h"
+#include "pycore_capsule.h" // _PyCapsule_SetTraverse()
#include "pycore_dict.h" // _PyDict_Pop()
#include "pycore_fileutils.h" // _Py_set_inheritable()
#include "pycore_moduleobject.h" // _PyModule_GetState