aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/wrap/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/wrap/__init__.py')
-rw-r--r--mesonbuild/wrap/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/wrap/__init__.py b/mesonbuild/wrap/__init__.py
index 182a94d..1771146 100644
--- a/mesonbuild/wrap/__init__.py
+++ b/mesonbuild/wrap/__init__.py
@@ -52,6 +52,6 @@ class WrapMode(Enum):
return self.name
@staticmethod
- def from_string(mode_name: str):
+ def from_string(mode_name: str) -> 'WrapMode':
g = string_to_value[mode_name]
return WrapMode(g)