summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Ecc/CParser4/CLexer.py
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@bsdio.com>2025-05-26 22:50:34 +0300
committerRebecca Cran <rebecca@bsdio.com>2025-05-27 02:09:27 +0300
commita78f525634cbc059848170e072631cae86126ea3 (patch)
tree4cafc8dfe8dabbe781c95eb0dbc51b0e7d37a56a /BaseTools/Source/Python/Ecc/CParser4/CLexer.py
parent6fde6ec6d8b0ea6d736809ee3f7b1cb8505ec413 (diff)
downloadedk2-a78f525634cbc059848170e072631cae86126ea3.tar.xz
BaseTools: Update CParser4 to import TextIO from typing
In Python 3.13 typing.io no longer exists. Instead, import TextIO from typing. Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/CParser4/CLexer.py')
-rw-r--r--BaseTools/Source/Python/Ecc/CParser4/CLexer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Ecc/CParser4/CLexer.py b/BaseTools/Source/Python/Ecc/CParser4/CLexer.py
index a2cc5bf56e..888d685432 100644
--- a/BaseTools/Source/Python/Ecc/CParser4/CLexer.py
+++ b/BaseTools/Source/Python/Ecc/CParser4/CLexer.py
@@ -1,7 +1,7 @@
# Generated from C.g4 by ANTLR 4.7.1
from antlr4 import *
from io import StringIO
-from typing.io import TextIO
+from typing import TextIO
import sys