Coding style

- Removed dead code.
This commit is contained in:
Andrew Hamilton 2022-10-18 18:24:34 +10:00
parent 723b4c4786
commit cad84d9dfb

View file

@ -108,15 +108,6 @@ class CharStyle:
def __getnewargs__(self):
return self.fg_color, self.bg_color, self.is_bold, self.is_italic, self.is_underlined
def __getstate__(self):
state = self.__dict__.copy()
if "_cache" in state:
del state["_cache"]
return state
def __setstate__(self, state):
self.__dict__ = state
def __repr__(self):
attributes = []
if self.is_bold: