Coding style.

Linting.
This commit is contained in:
Andrew Hamilton 2016-02-18 22:34:46 +00:00
parent cbba46d5c0
commit a3c0a69076
4 changed files with 11 additions and 10 deletions

View file

@ -215,8 +215,8 @@ class TermStr(collections.UserString):
def transform_style(self, transform_func):
new_style = tuple(_join_lists([transform_func(style)] * len(str_)
for style, str_, position
in self._partition_style()))
for style, str_, position
in self._partition_style()))
return self.__class__(self.data, new_style)
def bold(self):