diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-01-08 17:44:50 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-03-02 10:51:07 +0100 |
commit | 0302a697b8c232b21a4a8e14db93e79df485a97d (patch) | |
tree | f43753f61319749ecfee225a15d52528fc1e7cbd /mesonbuild/ast/postprocess.py | |
parent | ab988198c7aa5bec33057fabf2b5f68e847d67d2 (diff) | |
download | meson-0302a697b8c232b21a4a8e14db93e79df485a97d.zip meson-0302a697b8c232b21a4a8e14db93e79df485a97d.tar.gz meson-0302a697b8c232b21a4a8e14db93e79df485a97d.tar.bz2 |
types: Use import typing as T
Diffstat (limited to 'mesonbuild/ast/postprocess.py')
-rw-r--r-- | mesonbuild/ast/postprocess.py | 4 |
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__ |