interpreterobjects: don't allow keyword arguments in configuration_data.keys

Which do nothing, and shouldn't be allowed.
pull/9850/head
Dylan Baker 3 years ago committed by Eli Schwartz
parent 5074e2d3b5
commit f16956a951
  1. 1
      mesonbuild/interpreter/interpreterobjects.py

@ -361,6 +361,7 @@ class ConfigurationDataHolder(ObjectHolder[build.ConfigurationData], MutableInte
@FeatureNew('configuration_data.keys()', '0.57.0')
@noPosargs
@noKwargs
def keys_method(self, args: T.List[TYPE_var], kwargs: TYPE_kwargs) -> T.List[str]:
return sorted(self.keys())

Loading…
Cancel
Save