From: Serhiy Storchaka Date: Thu, 2 Nov 2023 08:42:58 +0000 (+0200) Subject: Remove unnecessary includes (GH-111633) X-Git-Tag: v3.13.0a2~226 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a12f624a9dc1c44bb20a20b13fd164c14b987892;p=thirdparty%2FPython%2Fcpython.git Remove unnecessary includes (GH-111633) --- diff --git a/Python/Python-tokenize.c b/Python/Python-tokenize.c index 83b4aa4b1a7e..364fe55d0a05 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 8aba802ae367..97a77e90d2bb 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