Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f334f740
Commit
f334f740
authored
Aug 13, 2012
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Plain Diff
Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.
Patch by Chris Jerdonek.
parents
a8656546
59db4016
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Doc/library/textwrap.rst
Doc/library/textwrap.rst
+5
-3
No files found.
Doc/library/textwrap.rst
View file @
f334f740
...
@@ -145,9 +145,11 @@ in a block of text.
...
@@ -145,9 +145,11 @@ in a block of text.
.. attribute:: replace_whitespace
.. attribute:: replace_whitespace
(default: ``True``) If true, each whitespace character (as defined by
(default: ``True``) If true, after tab expansion but before wrapping,
``string.whitespace``) remaining after tab expansion will be replaced by a
the :meth:`wrap` method will replace each whitespace character
single space.
with a single space. The whitespace characters replaced are
as follows: tab, newline, vertical tab, formfeed, and carriage
return (``'\t\n\v\f\r'``).
.. note::
.. note::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment