From 4104cbdaf9f3b5b60191699a1d9c9e7512beb0d8 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Fri, 31 Jan 2020 09:48:21 +0100 Subject: typing: Fix Any --> T.Any --- mesonbuild/coredata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py index 7a9fefe..44eaa02 100644 --- a/mesonbuild/coredata.py +++ b/mesonbuild/coredata.py @@ -463,7 +463,7 @@ class CoreData: prefix = prefix[:-1] return prefix - def sanitize_dir_option_value(self, prefix: str, option: str, value: Any) -> Any: + def sanitize_dir_option_value(self, prefix: str, option: str, value: T.Any) -> T.Any: ''' If the option is an installation directory option and the value is an absolute path, check that it resides within prefix and return the value -- cgit v1.1