diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-01 00:03:23 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2021-10-10 16:12:25 -0400 |
commit | a5020857f31ad6d03bc7c0019551cc28b9e5aad5 (patch) | |
tree | fdf9e08b2c37877e44fb4cdf91cc2ee45c868e6a /mesonbuild/mesonlib | |
parent | 32b7cbd4a7cd8cffb47c5465301141eaad599eaa (diff) | |
download | meson-a5020857f31ad6d03bc7c0019551cc28b9e5aad5.zip meson-a5020857f31ad6d03bc7c0019551cc28b9e5aad5.tar.gz meson-a5020857f31ad6d03bc7c0019551cc28b9e5aad5.tar.bz2 |
Fix typos discovered by codespell
Diffstat (limited to 'mesonbuild/mesonlib')
-rw-r--r-- | mesonbuild/mesonlib/platform.py | 4 | ||||
-rw-r--r-- | mesonbuild/mesonlib/universal.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/mesonlib/platform.py b/mesonbuild/mesonlib/platform.py index cdd42b1..f0676a6 100644 --- a/mesonbuild/mesonlib/platform.py +++ b/mesonbuild/mesonlib/platform.py @@ -23,7 +23,7 @@ from .. import mlog __all__ = ['BuildDirLock'] -# This needs to be inheritted by the specific implementations to make type +# This needs to be inherited by the specific implementations to make type # checking happy class BuildDirLock: @@ -31,7 +31,7 @@ class BuildDirLock: self.lockfilename = os.path.join(builddir, 'meson-private/meson.lock') def __enter__(self) -> None: - mlog.debug('Calling ther no-op version of BuildDirLock') + mlog.debug('Calling the no-op version of BuildDirLock') def __exit__(self, *args: T.Any) -> None: pass diff --git a/mesonbuild/mesonlib/universal.py b/mesonbuild/mesonlib/universal.py index ebf9cb0..e142528 100644 --- a/mesonbuild/mesonlib/universal.py +++ b/mesonbuild/mesonlib/universal.py @@ -1731,7 +1731,7 @@ class OrderedSet(T.MutableSet[_T]): return 'OrderedSet()' def __reversed__(self) -> T.Iterator[_T]: - # Mypy is complaining that sets cant be reversed, which is true for + # Mypy is complaining that sets can't be reversed, which is true for # unordered sets, but this is an ordered, set so reverse() makes sense. return reversed(self.__container.keys()) # type: ignore |