diff options
Diffstat (limited to 'mesonbuild/mesonlib.py')
-rw-r--r-- | mesonbuild/mesonlib.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index 0d8ec3c..5c3fc45 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -976,7 +976,9 @@ def replace_if_different(dst, dst_tmp): else: os.unlink(dst_tmp) -def listify(item, flatten=True, unholder=False): +def listify(item: typing.Any, + flatten: bool = True, + unholder: bool = False) -> typing.List[typing.Any]: ''' Returns a list with all args embedded in a list if they are not a list. This function preserves order. |