diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-06 13:56:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 13:56:08 (GMT) |
commit | b298b395e8ab1725c4f0dd736155b8c818664d42 (patch) | |
tree | 7946296ed34254283f71a70004b06fe7a7d2c30d /Python/legacy_tracing.c | |
parent | 14d6e197cc56e5256d501839a4e66e3864ab15f0 (diff) | |
download | cpython-b298b395e8ab1725c4f0dd736155b8c818664d42.zip cpython-b298b395e8ab1725c4f0dd736155b8c818664d42.tar.gz cpython-b298b395e8ab1725c4f0dd736155b8c818664d42.tar.bz2 |
gh-108765: Cleanup #include in Python/*.c files (#108977)
Mention one symbol imported by each #include.
Diffstat (limited to 'Python/legacy_tracing.c')
-rw-r--r-- | Python/legacy_tracing.c | 9 |
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 |