aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/Python-tokenize.c1
-rw-r--r--Python/traceback.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/Python/Python-tokenize.c b/Python/Python-tokenize.c
index 83b4aa4b1a7..364fe55d0a0 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 8aba802ae36..97a77e90d2b 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