summaryrefslogtreecommitdiffstats
path: root/Python/legacy_tracing.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/legacy_tracing.c')
-rw-r--r--Python/legacy_tracing.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/Python/legacy_tracing.c b/Python/legacy_tracing.c
index 17a13b1..9258091 100644
--- a/Python/legacy_tracing.c
+++ b/Python/legacy_tracing.c
@@ -2,12 +2,13 @@
* Provides callables to forward PEP 669 events to legacy events.
*/
-#include <stddef.h>
#include "Python.h"
-#include "opcode.h"
-#include "pycore_ceval.h"
+#include "pycore_ceval.h" // export _PyEval_SetProfile()
#include "pycore_object.h"
-#include "pycore_sysmodule.h"
+#include "pycore_sysmodule.h" // _PySys_Audit()
+
+#include "opcode.h"
+#include <stddef.h>
typedef struct _PyLegacyEventHandler {
PyObject_HEAD