summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-12-11 09:53:52 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-12-11 09:53:52 (GMT)
commit222d5b466b3c23a6100ee490551b5feb54946d70 (patch)
treefd820b34530eaa20769d1f87b9a4476812968a88
parenta9ef5e565d3e33e3a6f410d9c610ffe5bdc6c474 (diff)
downloadcpython-222d5b466b3c23a6100ee490551b5feb54946d70.zip
cpython-222d5b466b3c23a6100ee490551b5feb54946d70.tar.gz
cpython-222d5b466b3c23a6100ee490551b5feb54946d70.tar.bz2
Setting textwrap.TextWrapper().expand_tabs to True calls expandtabs, not
expand_tabs, on the object being wrapped.
-rw-r--r--Doc/lib/libtextwrap.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libtextwrap.tex b/Doc/lib/libtextwrap.tex
index e319333..9fb0816 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}