aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index bb57ec8..b9a3dc2 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -279,7 +279,7 @@ class Build:
custom_targets[name] = t
return custom_targets
- def copy(self):
+ def copy(self) -> Build:
other = Build(self.environment)
for k, v in self.__dict__.items():
if isinstance(v, (list, dict, set, OrderedDict)):
@@ -288,7 +288,7 @@ class Build:
other.__dict__[k] = v
return other
- def merge(self, other):
+ def merge(self, other: Build) -> None:
for k, v in other.__dict__.items():
self.__dict__[k] = v