From: Brett Cannon Date: Sat, 11 Dec 2004 09:53:52 +0000 (+0000) Subject: Setting textwrap.TextWrapper().expand_tabs to True calls expandtabs, not X-Git-Tag: v2.5a0~2273 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=222d5b466b3c23a6100ee490551b5feb54946d70;p=thirdparty%2FPython%2Fcpython.git Setting textwrap.TextWrapper().expand_tabs to True calls expandtabs, not expand_tabs, on the object being wrapped. --- diff --git a/Doc/lib/libtextwrap.tex b/Doc/lib/libtextwrap.tex index e319333e7589..9fb08163d675 100644 --- a/Doc/lib/libtextwrap.tex +++ b/Doc/lib/libtextwrap.tex @@ -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}