diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-24 01:21:01 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-24 01:21:42 +0530 |
commit | f49b50d432a066e420d50f1f546c1b23fa87687d (patch) | |
tree | 973b996d5c301a72fee115e3cbbd36ef7388bbd7 | |
parent | 469a758c322bc161d9d0bab00cf213acf7b33df5 (diff) | |
download | meson-f49b50d432a066e420d50f1f546c1b23fa87687d.zip meson-f49b50d432a066e420d50f1f546c1b23fa87687d.tar.gz meson-f49b50d432a066e420d50f1f546c1b23fa87687d.tar.bz2 |
compilers: Remove unnecessary arguments to super()
-rw-r--r-- | mesonbuild/compilers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index 4178f0b..40387ca 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -2473,7 +2473,7 @@ class IntelCCompiler(IntelCompiler, CCompiler): return ['-shared'] def has_multi_arguments(self, args, env): - return super(IntelCCompiler, self).has_multi_arguments(args + ['-diag-error', '10006'], env) + return super().has_multi_arguments(args + ['-diag-error', '10006'], env) class IntelCPPCompiler(IntelCompiler, CPPCompiler): @@ -2521,7 +2521,7 @@ class IntelCPPCompiler(IntelCompiler, CPPCompiler): return self.get_no_optimization_args() def has_multi_arguments(self, args, env): - return super(IntelCPPCompiler, self).has_multi_arguments(args + ['-diag-error', '10006'], env) + return super().has_multi_arguments(args + ['-diag-error', '10006'], env) class FortranCompiler(Compiler): |