diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-01-23 16:53:38 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-01-24 02:53:34 +0530 |
commit | 7672cd99c2f39ff612983a9d3f94b68a47aa22ce (patch) | |
tree | b5328db2d3dfe01e463cb8eeb559c31b612b64a5 | |
parent | d8e738f04f9d1bf37b721ec1ff68956f7555b5ae (diff) | |
download | meson-7672cd99c2f39ff612983a9d3f94b68a47aa22ce.zip meson-7672cd99c2f39ff612983a9d3f94b68a47aa22ce.tar.gz meson-7672cd99c2f39ff612983a9d3f94b68a47aa22ce.tar.bz2 |
compilers: Derive CompilerArgs from collections instead of typing
Deriving from typing.MutableSequence does not give us a usable
sequence type on Python 3.5.2.
-rw-r--r-- | mesonbuild/compilers/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index cc321f1..e8e72cf 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -386,7 +386,7 @@ class RunResult: self.stdout = stdout self.stderr = stderr -class CompilerArgs(T.MutableSequence[str]): +class CompilerArgs(collections.abc.MutableSequence): ''' List-like class that manages a list of compiler arguments. Should be used while constructing compiler arguments from various sources. Can be |