Show More
@@ -1667,7 +1667,7 b' def MBTextWrapper(**kwargs):' | |||||
1667 | elif not cur_line: |
|
1667 | elif not cur_line: | |
1668 | cur_line.append(reversed_chunks.pop()) |
|
1668 | cur_line.append(reversed_chunks.pop()) | |
1669 |
|
1669 | |||
1670 |
# this overriding code is imported from TextWrapper of |
|
1670 | # this overriding code is imported from TextWrapper of Python 2.6 | |
1671 | # to calculate columns of string by 'encoding.ucolwidth()' |
|
1671 | # to calculate columns of string by 'encoding.ucolwidth()' | |
1672 | def _wrap_chunks(self, chunks): |
|
1672 | def _wrap_chunks(self, chunks): | |
1673 | colwidth = encoding.ucolwidth |
|
1673 | colwidth = encoding.ucolwidth |
General Comments 0
You need to be logged in to leave comments.
Login now