diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-10-24 14:06:43 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-12-17 14:47:18 -0800 |
| commit | 7ddd0732c27d97fbf36a96c8c3d6bd81cc28ad0f (patch) | |
| tree | e3ee05be516970a298db5b20f54693c2f6416999 /mesonbuild/modules/python.py | |
| parent | 5363fc1310d793e738c2bb4868aa24e37a5d880f (diff) | |
| download | meson-7ddd0732c27d97fbf36a96c8c3d6bd81cc28ad0f.tar.gz | |
dependencies: stop passing "language" as a keyword argument
It's allowed in the `DependencyKeywordArguments` TypeDict already, so we
now have two sources of truth. Additionally, it's often populated by
reading from that dict, so we're just doing useless work.
Diffstat (limited to 'mesonbuild/modules/python.py')
| -rw-r--r-- | mesonbuild/modules/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index 78798e5c0..96ba1e0f0 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -272,7 +272,7 @@ class PythonInstallation(_ExternalProgramHolder['PythonExternalProgram']): new_kwargs['required'] = False if build_config: new_kwargs['build_config'] = build_config - candidates = python_factory(self.interpreter.environment, for_machine, new_kwargs, self.held_object) + candidates = python_factory(self.interpreter.environment, new_kwargs, self.held_object) dep = find_external_dependency('python', self.interpreter.environment, new_kwargs, candidates) self.interpreter.coredata.deps[for_machine].put(identifier, dep) |
