aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast/postprocess.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/ast/postprocess.py')
-rw-r--r--mesonbuild/ast/postprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/ast/postprocess.py b/mesonbuild/ast/postprocess.py
index aa19916..6d808be 100644
--- a/mesonbuild/ast/postprocess.py
+++ b/mesonbuild/ast/postprocess.py
@@ -17,7 +17,7 @@
from . import AstVisitor
from .. import mparser
-from typing import Dict
+import typing as T
class AstIndentationGenerator(AstVisitor):
def __init__(self) -> None:
@@ -77,7 +77,7 @@ class AstIndentationGenerator(AstVisitor):
class AstIDGenerator(AstVisitor):
def __init__(self) -> None:
- self.counter = {} # type: Dict[str, int]
+ self.counter = {} # type: T.Dict[str, int]
def visit_default_func(self, node: mparser.BaseNode) -> None:
name = type(node).__name__