summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2024-08-28 10:35:28 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2025-02-05 17:45:38 +0200
commit4aa0e93922355c01c86ad41d985ec24e4ec8a1f6 (patch)
treeecd44672b766019cb66cc9abe5eb9fb079336df0
parent0e6e68786ccea602b0343e0e104278352e4ee89a (diff)
downloadmeson-4aa0e93922355c01c86ad41d985ec24e4ec8a1f6.tar.gz
options: fix the annotations of _to_tuple
-rw-r--r--mesonbuild/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/options.py b/mesonbuild/options.py
index 1566f940c..aea38ec3e 100644
--- a/mesonbuild/options.py
+++ b/mesonbuild/options.py
@@ -142,7 +142,7 @@ class OptionKey:
def __hash__(self) -> int:
return self._hash
- def _to_tuple(self) -> T.Tuple[str, str, str, MachineChoice, str]:
+ def _to_tuple(self) -> T.Tuple[str, MachineChoice, str]:
return (self.subproject, self.machine, self.name)
def __eq__(self, other: object) -> bool: