interpreterobjects: don't allow keyword arguments in configuration_data.keys
Which do nothing, and shouldn't be allowed.
This commit is contained in:
parent
5074e2d3b5
commit
f16956a951
|
@ -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…
Reference in New Issue