diff --git a/Python/Python-tokenize.c b/Python/Python-tokenize.c index 83b4aa4b1a7e11..364fe55d0a05e4 100644 --- a/Python/Python-tokenize.c +++ b/Python/Python-tokenize.c @@ -4,7 +4,6 @@ #include "../Parser/lexer/lexer.h" #include "../Parser/tokenizer/tokenizer.h" #include "../Parser/pegen.h" // _PyPegen_byte_offset_to_character_offset() -#include "../Parser/pegen.h" // _PyPegen_byte_offset_to_character_offset() static struct PyModuleDef _tokenizemodule; diff --git a/Python/traceback.c b/Python/traceback.c index 8aba802ae36784..97a77e90d2bb8c 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -16,7 +16,6 @@ #include "pycore_sysmodule.h" // _PySys_GetAttr() #include "pycore_traceback.h" // EXCEPTION_TB_HEADER -#include "../Parser/pegen.h" // _PyPegen_byte_offset_to_character_offset() #include "frameobject.h" // PyFrame_New() #include "osdefs.h" // SEP