Skip to content

Commit de22e71

Browse files
Remove redundant pycore_optimizer.h includes (#143184)
`pycore_optimizer.h` was included redundantly in Objects/frameobject.c and Python/instrumentation.c. Both includes are unnecessary and can be safely removed. No functional change. Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
1 parent 888d101 commit de22e71

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Objects/frameobject.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
#include "frameobject.h" // PyFrameLocalsProxyObject
1919
#include "opcode.h" // EXTENDED_ARG
20-
#include "pycore_optimizer.h"
2120

2221
#include "clinic/frameobject.c.h"
2322

Python/instrumentation.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "pycore_tuple.h" // _PyTuple_FromArraySteal()
1919

2020
#include "opcode_ids.h"
21-
#include "pycore_optimizer.h"
2221

2322

2423
/* Uncomment this to dump debugging output when assertions fail */

0 commit comments

Comments
 (0)