aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-03-25 15:03:35 -0700
committerXavier Claessens <xclaesse@gmail.com>2021-05-28 09:26:38 -0400
commit7114a9015eedc8e3173f57c78b084099c37b9cc3 (patch)
treec976f8c6b64ae68028417266d2e7435a2a6224bc /mesonbuild
parent76768eaf20aca7f79c3e94f34041c7a06f19bdad (diff)
downloadmeson-7114a9015eedc8e3173f57c78b084099c37b9cc3.zip
meson-7114a9015eedc8e3173f57c78b084099c37b9cc3.tar.gz
meson-7114a9015eedc8e3173f57c78b084099c37b9cc3.tar.bz2
mesonlib: Fix return type of PerMachineDefaultable.default_missing()
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/mesonlib/universal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mesonlib/universal.py b/mesonbuild/mesonlib/universal.py
index 318b365..22e3d18 100644
--- a/mesonbuild/mesonlib/universal.py
+++ b/mesonbuild/mesonlib/universal.py
@@ -533,7 +533,7 @@ class PerMachineDefaultable(PerMachine[T.Optional[_T]]):
def __init__(self) -> None:
super().__init__(None, None)
- def default_missing(self) -> "PerMachine[T.Optional[_T]]":
+ def default_missing(self) -> "PerMachine[_T]":
"""Default host to build
This allows just specifying nothing in the native case, and just host in the