Coding style
- Removed dead code.
This commit is contained in:
parent
723b4c4786
commit
cad84d9dfb
1 changed files with 0 additions and 9 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue