summaryrefslogtreecommitdiff
path: root/mesonbuild/arglist.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-09-01 19:36:21 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-09-08 20:15:58 +0200
commit47373a2438c0fdeedd229b921c9d7e8dc1fc956a (patch)
tree9488b247f10bb279e0520d028132ce9f106d63c9 /mesonbuild/arglist.py
parent23818fc5a389c49e2673f79af2c90d9d56b1aaf0 (diff)
downloadmeson-47373a2438c0fdeedd229b921c9d7e8dc1fc956a.tar.gz
typing: get rid of most T.cast
Diffstat (limited to 'mesonbuild/arglist.py')
-rw-r--r--mesonbuild/arglist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/arglist.py b/mesonbuild/arglist.py
index b7fa749ee..d88438957 100644
--- a/mesonbuild/arglist.py
+++ b/mesonbuild/arglist.py
@@ -242,7 +242,7 @@ class CompilerArgs(collections.abc.MutableSequence):
new = self.copy()
else:
new = self
- return T.cast(T.List[str], self.compiler.unix_args_to_native(new._container))
+ return self.compiler.unix_args_to_native(new._container)
def append_direct(self, arg: str) -> None:
'''