summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-03-08 15:52:34 -0500
committerXavier Claessens <xclaesse@gmail.com>2021-03-16 09:00:50 -0400
commit567c96b68b1dfe3cd6b52b0d26dfc78e5c0e6b76 (patch)
treee42d95eff1b0c882f83377106072c851571f6f00
parente0fcccc6e21341841014ff0ef685cf20d78e8fde (diff)
downloadmeson-567c96b68b1dfe3cd6b52b0d26dfc78e5c0e6b76.tar.gz
typed_pos_args: Fix typo
-rw-r--r--mesonbuild/interpreterbase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/interpreterbase.py b/mesonbuild/interpreterbase.py
index ec6ddc8ab..17647133a 100644
--- a/mesonbuild/interpreterbase.py
+++ b/mesonbuild/interpreterbase.py
@@ -286,8 +286,8 @@ def typed_pos_args(name: str, *types: T.Union[T.Type, T.Tuple[T.Type, ...]],
# These are implementation programming errors, end users should never see them.
assert isinstance(args, list), args
- assert max_varargs >= 0, 'max_varrags cannot be negative'
- assert min_varargs >= 0, 'min_varrags cannot be negative'
+ assert max_varargs >= 0, 'max_varags cannot be negative'
+ assert min_varargs >= 0, 'min_varags cannot be negative'
assert optargs is None or varargs is None, \
'varargs and optargs not supported together as this would be ambiguous'