diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-08-10 20:51:45 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-08-11 13:37:17 -0400 |
commit | a01418db0a37908cc2504adbb0cf56d333348f9a (patch) | |
tree | 6463a2f91154092fd7f1aeeb72f744258daa6ff8 /mesonbuild/cmake/generator.py | |
parent | 03a2a3a6773785e087b296e9e6ff6791c6068f60 (diff) | |
download | meson-a01418db0a37908cc2504adbb0cf56d333348f9a.zip meson-a01418db0a37908cc2504adbb0cf56d333348f9a.tar.gz meson-a01418db0a37908cc2504adbb0cf56d333348f9a.tar.bz2 |
remove useless type annotations
These annotations all had a default initializer of the correct type, or
a parent class annotation.
Diffstat (limited to 'mesonbuild/cmake/generator.py')
-rw-r--r-- | mesonbuild/cmake/generator.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mesonbuild/cmake/generator.py b/mesonbuild/cmake/generator.py index 5b83479..f47625c 100644 --- a/mesonbuild/cmake/generator.py +++ b/mesonbuild/cmake/generator.py @@ -38,8 +38,8 @@ def parse_generator_expressions( if '$<' not in raw: return raw - out = '' # type: str - i = 0 # type: int + out = '' + i = 0 def equal(arg: str) -> str: col_pos = arg.find(',') @@ -147,10 +147,10 @@ def parse_generator_expressions( nonlocal i i += 2 - func = '' # type: str - args = '' # type: str - res = '' # type: str - exp = '' # type: str + func = '' + args = '' + res = '' + exp = '' # Determine the body of the expression while i < len(raw): |