From 4075bab134e45e998c6709188ea22e9ad332d763 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 2 Nov 2023 10:42:58 +0200 Subject: [PATCH] Remove unnecessary includes (GH-111633) --- Python/Python-tokenize.c | 1 - Python/traceback.c | 1 - 2 files changed, 2 deletions(-) diff --git a/Python/Python-tokenize.c b/Python/Python-tokenize.c index 83b4aa4b1a7e118..364fe55d0a05e46 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 8aba802ae367842..97a77e90d2bb8cc 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