summaryrefslogtreecommitdiff
path: root/mesonbuild/modules
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-09-16 13:23:19 -0700
committerDylan Baker <dylan@pnwbakers.com>2025-10-20 15:15:53 -0700
commite005e9a459f3847a9d30861ec0a5f5653b4df0e4 (patch)
treeb77bde943801c0b0d83538413c6e1b51e14aeee1 /mesonbuild/modules
parent87dac856b61dbd98e922aa159f08bce4852941d9 (diff)
downloadmeson-e005e9a459f3847a9d30861ec0a5f5653b4df0e4.tar.gz
interpreter: Rework extract_required_kwarg to have better typing
This allows us to avoid making `feature` a union, therefore if we write code like: ```python disabled, required, feature = extract_required_kwarg(...) if disabled: ... ``` and now mypy knows that feature is a `str` inside the `if disabled` block
Diffstat (limited to 'mesonbuild/modules')
0 files changed, 0 insertions, 0 deletions