diff options
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 14e6f2d..90a2b81 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -645,14 +645,14 @@ class CompilerArgs(list): new += self return new - def __mul__(self, args): - raise TypeError("can't multiply compiler arguments") # lgtm[py/unexpected-raise-in-special-method] + def __mul__(self, args): # lgtm[py/unexpected-raise-in-special-method] + raise TypeError("can't multiply compiler arguments") - def __imul__(self, args): - raise TypeError("can't multiply compiler arguments") # lgtm[py/unexpected-raise-in-special-method] + def __imul__(self, args): # lgtm[py/unexpected-raise-in-special-method] + raise TypeError("can't multiply compiler arguments") - def __rmul__(self, args): - raise TypeError("can't multiply compiler arguments") # lgtm[py/unexpected-raise-in-special-method] + def __rmul__(self, args): # lgtm[py/unexpected-raise-in-special-method] + raise TypeError("can't multiply compiler arguments") def append(self, arg): self.__iadd__([arg]) |