##// END OF EJS Templates
MBTextWrapper: drop dedicated __init__ method...
Pierre-Yves David -
r25210:b58dde1b default
parent child Browse files
Show More
@@ -1554,13 +1554,6 b' def MBTextWrapper(**kwargs):'
1554
1554
1555 This requires use decision to determine width of such characters.
1555 This requires use decision to determine width of such characters.
1556 """
1556 """
1557 def __init__(self, **kwargs):
1558 textwrap.TextWrapper.__init__(self, **kwargs)
1559
1560 # for compatibility between 2.4 and 2.6
1561 if getattr(self, 'drop_whitespace', None) is None:
1562 self.drop_whitespace = kwargs.get('drop_whitespace', True)
1563
1564 def _cutdown(self, ucstr, space_left):
1557 def _cutdown(self, ucstr, space_left):
1565 l = 0
1558 l = 0
1566 colwidth = encoding.ucolwidth
1559 colwidth = encoding.ucolwidth
General Comments 0
You need to be logged in to leave comments. Login now