mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
text writer: docstring proofreading
This commit is contained in:
parent
fddb492044
commit
2b5a1476c8
@ -32,8 +32,8 @@ class TextWrapper(textwrap.TextWrapper):
|
|||||||
def _wrap_chunks(self, chunks):
|
def _wrap_chunks(self, chunks):
|
||||||
"""_wrap_chunks(chunks : [string]) -> [string]
|
"""_wrap_chunks(chunks : [string]) -> [string]
|
||||||
|
|
||||||
Original _wrap_chunks use len() to calculate width.
|
The original _wrap_chunks uses len() to calculate width.
|
||||||
This method respect to wide/fullwidth characters for width adjustment.
|
This method respects wide/fullwidth characters for width adjustment.
|
||||||
"""
|
"""
|
||||||
drop_whitespace = getattr(self, 'drop_whitespace', True) #py25 compat
|
drop_whitespace = getattr(self, 'drop_whitespace', True) #py25 compat
|
||||||
lines = []
|
lines = []
|
||||||
|
Loading…
Reference in New Issue
Block a user