aboutsummaryrefslogtreecommitdiff
path: root/docs/refman/loaderbase.py
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2022-10-22 16:42:21 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2022-10-23 03:06:39 +0300
commitfa2585d0b364143fb588b8bb611eaa4d1c277811 (patch)
tree529fe5facf7c43c453a8569073b31fc122efcc68 /docs/refman/loaderbase.py
parentb98356e0557399803895755a5f513841345fba1b (diff)
downloadmeson-fa2585d0b364143fb588b8bb611eaa4d1c277811.zip
meson-fa2585d0b364143fb588b8bb611eaa4d1c277811.tar.gz
meson-fa2585d0b364143fb588b8bb611eaa4d1c277811.tar.bz2
Fix typos in docs
Diffstat (limited to 'docs/refman/loaderbase.py')
-rw-r--r--docs/refman/loaderbase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/refman/loaderbase.py b/docs/refman/loaderbase.py
index 1db92e2..3011126 100644
--- a/docs/refman/loaderbase.py
+++ b/docs/refman/loaderbase.py
@@ -151,7 +151,7 @@ class _Resolver:
self.type_map[obj.name] = obj
for m in obj.methods:
mid = f'{obj.name}.{m.name}'
- assert mid not in self.type_map, f'Duplicate metod {mid}'
+ assert mid not in self.type_map, f'Duplicate method {mid}'
self.func_map[mid] = m
# Build func map for functions
@@ -169,7 +169,7 @@ class _Resolver:
mlog.log(' -- validating', mlog.bold(obj.name))
self._validate_named_object(obj)
self._validate_feature_check(obj)
- # Resolve and validate inheritence
+ # Resolve and validate inheritance
if obj.extends:
assert obj.extends in self.type_map, f'Unknown extends object {obj.extends} in {obj.name}'
obj.extends_obj = self.type_map[obj.extends]