diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-02-14 02:47:13 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-02-28 11:54:03 +0000 |
commit | 4895830c28dda6f009aeaec0663b5bba88b3d1b3 (patch) | |
tree | 4ec55b966714b9e33518e559c9e5098fb97d09ba /mesonbuild/mlog.py | |
parent | fa928e803bc41f1e49051bb0cb738acbd8c6f2ec (diff) | |
download | meson-4895830c28dda6f009aeaec0663b5bba88b3d1b3.zip meson-4895830c28dda6f009aeaec0663b5bba88b3d1b3.tar.gz meson-4895830c28dda6f009aeaec0663b5bba88b3d1b3.tar.bz2 |
Fix typos in comments about type annotations
Diffstat (limited to 'mesonbuild/mlog.py')
-rw-r--r-- | mesonbuild/mlog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/mlog.py b/mesonbuild/mlog.py index 9387cb3..c5ebbbf 100644 --- a/mesonbuild/mlog.py +++ b/mesonbuild/mlog.py @@ -226,7 +226,7 @@ def log_once(*args: T.Union[str, AnsiDecorator], is_error: bool = False, # # def __str__(self) -> str: ... # -# This would more accurately embody what this funcitonc an handle, but we +# This would more accurately embody what this function can handle, but we # don't have that yet, so instead we'll do some casting to work around it def get_error_location_string(fname: str, lineno: str) -> str: return '{}:{}:'.format(fname, lineno) @@ -236,7 +236,7 @@ def _log_error(severity: str, *rargs: T.Union[str, AnsiDecorator], from .environment import build_filename from .mesonlib import MesonException - # The tping requirements here are non-obvious. Lists are invariant, + # The typing requirements here are non-obvious. Lists are invariant, # therefore T.List[A] and T.List[T.Union[A, B]] are not able to be joined if severity == 'warning': label = [yellow('WARNING:')] # type: T.List[T.Union[str, AnsiDecorator]] |