aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake/generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/cmake/generator.py')
-rw-r--r--mesonbuild/cmake/generator.py12
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):