mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Setting textwrap.TextWrapper().expand_tabs to True calls expandtabs, not
expand_tabs, on the object being wrapped.
This commit is contained in:
parent
a9ef5e565d
commit
222d5b466b
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ will be longer than \member{width} characters.
|
|||
|
||||
\begin{memberdesc}{expand_tabs}
|
||||
(default: \code{True}) If true, then all tab characters in \var{text}
|
||||
will be expanded to spaces using the \method{expand_tabs()} method of
|
||||
will be expanded to spaces using the \method{expandtabs()} method of
|
||||
\var{text}.
|
||||
\end{memberdesc}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue