From 1e79553c36bf6473a58559254dc25fc550dfca99 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 18 Nov 2022 13:42:20 -0800 Subject: mlog: remove out-of-date comment This comment is out of date, we have StringProtocol which is exactly what we wanted, and it's part of TV_Loggable already --- mesonbuild/mlog.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'mesonbuild') diff --git a/mesonbuild/mlog.py b/mesonbuild/mlog.py index bbfc8de..e6f2325 100644 --- a/mesonbuild/mlog.py +++ b/mesonbuild/mlog.py @@ -205,8 +205,6 @@ def normal_blue(text: str) -> AnsiDecorator: def normal_cyan(text: str) -> AnsiDecorator: return AnsiDecorator(text, "\033[36m") -# This really should be AnsiDecorator or anything that implements -# __str__(), but that requires protocols from typing_extensions def process_markup(args: T.Sequence[TV_Loggable], keep: bool) -> T.List[str]: arr = [] # type: T.List[str] if log_timestamp_start is not None: -- cgit v1.1