Skip to content

Commit ab4423b

Browse files
committed
Remove duplicate includes: Python/{bytecodes,ceval}.c
1 parent b530e17 commit ab4423b

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

Python/bytecodes.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "pycore_function.h"
1818
#include "pycore_instruments.h"
1919
#include "pycore_intrinsics.h"
20-
#include "pycore_long.h" // _PyLong_GetZero()
20+
#include "pycore_long.h" // _PyLong_ExactDealloc(), _PyLong_GetZero()
2121
#include "pycore_moduleobject.h" // PyModuleObject
2222
#include "pycore_object.h" // _PyObject_GC_TRACK()
2323
#include "pycore_opcode_metadata.h" // uop names
@@ -26,7 +26,6 @@
2626
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
2727
#include "pycore_pystate.h" // _PyInterpreterState_GET()
2828
#include "pycore_range.h" // _PyRangeIterObject
29-
#include "pycore_long.h" // _PyLong_ExactDealloc()
3029
#include "pycore_setobject.h" // _PySet_NextEntry()
3130
#include "pycore_sliceobject.h" // _PyBuildSlice_ConsumeRefs
3231
#include "pycore_stackref.h"

Python/ceval.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include "pycore_opcode_utils.h" // MAKE_FUNCTION_*
3030
#include "pycore_optimizer.h" // _PyUOpExecutor_Type
3131
#include "pycore_pyatomic_ft_wrappers.h" // FT_ATOMIC_*
32-
#include "pycore_pyerrors.h"
3332
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
3433
#include "pycore_pystate.h" // _PyInterpreterState_GET()
3534
#include "pycore_range.h" // _PyRangeIterObject

Python/optimizer_analysis.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,11 @@
1919
#include "pycore_opcode_utils.h"
2020
#include "pycore_pystate.h" // _PyInterpreterState_GET()
2121
#include "pycore_uop_metadata.h"
22-
#include "pycore_dict.h"
2322
#include "pycore_long.h"
2423
#include "pycore_interpframe.h" // _PyFrame_GetCode
2524
#include "pycore_optimizer.h"
2625
#include "pycore_object.h"
27-
#include "pycore_dict.h"
2826
#include "pycore_function.h"
29-
#include "pycore_uop_metadata.h"
3027
#include "pycore_uop_ids.h"
3128
#include "pycore_range.h"
3229

0 commit comments

Comments
 (0)