diff --git a/src/tcurses.py b/src/tcurses.py index de57f28..d212b16 100644 --- a/src/tcurses.py +++ b/src/tcurses.py @@ -117,9 +117,7 @@ def timeout(self, delay: int) -> None: def _parse_attrs(self, attrs: int) -> list[str]: possible_attrs: dict[int, str] = dict( - (value, name) - for name, value in globals().items() - if isinstance(value, int) + (value, name) for name, value in globals().items() if isinstance(value, int) ) possible_returns = { "A_BOLD": "bold",