From 7672cd99c2f39ff612983a9d3f94b68a47aa22ce Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 23 Jan 2020 16:53:38 +0530 Subject: 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. --- mesonbuild/compilers/compilers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/compilers') 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 -- cgit v1.1