From a8293dd59c0a22817f2336df8ae97dce1232f72a Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 2 Mar 2020 11:11:17 -0800 Subject: mesonlib: Replace unholder argument to listify listify shouldn't be unholdering, it's a function to turn scalar values into lists, or flatten lists. Having a separate function is clearer, easier to understand, and can be run recursively if necessary. --- mesonbuild/compilers/compilers.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesonbuild/compilers/compilers.py') diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 1c0adff..caa8600 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -35,6 +35,8 @@ if T.TYPE_CHECKING: from ..environment import Environment from ..linkers import DynamicLinker # noqa: F401 + CompilerType = T.TypeVar('CompilerType', bound=Compiler) + """This file contains the data files of all compilers Meson knows about. To support a new compiler, add its information below. Also add corresponding autodetection code in environment.py.""" -- cgit v1.1