aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-03-01 10:51:55 -0800
committerDylan Baker <dylan@pnwbakers.com>2022-03-03 10:29:14 -0800
commit5f595f0d1b97b4b948b570faaa3a13f4cf50d597 (patch)
treea04ca1146edf98ef3b55e38313dfe9f0559ffdcd
parentf4ae32c2ad4f4912867e1be6333371955bdaf83b (diff)
downloadmeson-5f595f0d1b97b4b948b570faaa3a13f4cf50d597.zip
meson-5f595f0d1b97b4b948b570faaa3a13f4cf50d597.tar.gz
meson-5f595f0d1b97b4b948b570faaa3a13f4cf50d597.tar.bz2
coredata: fix annotations of get_option
-rw-r--r--mesonbuild/coredata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index fa20a66..f4365e1 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -613,7 +613,7 @@ class CoreData:
'Default project to execute in Visual Studio',
'')
- def get_option(self, key: OptionKey) -> T.Union[str, int, bool, WrapMode]:
+ def get_option(self, key: OptionKey) -> T.Union[T.List[str], str, int, bool, WrapMode]:
try:
v = self.options[key].value
if key.name == 'wrap_mode':