summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libstring.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-25 22:31:53 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-25 22:31:53 (GMT)
commit9700e9becc81aaba6290c120b518568a460315cd (patch)
tree5bd2ba476e275e32146d5eaaf074417ad3a36a3e /Doc/lib/libstring.tex
parent3e0d3191961734067465ffa1b1d671d245c98813 (diff)
downloadcpython-9700e9becc81aaba6290c120b518568a460315cd.zip
cpython-9700e9becc81aaba6290c120b518568a460315cd.tar.gz
cpython-9700e9becc81aaba6290c120b518568a460315cd.tar.bz2
Document the default for tabsize in expandtabs().
Diffstat (limited to 'Doc/lib/libstring.tex')
-rw-r--r--Doc/lib/libstring.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libstring.tex b/Doc/lib/libstring.tex
index 4bf2903..4424863 100644
--- a/Doc/lib/libstring.tex
+++ b/Doc/lib/libstring.tex
@@ -102,12 +102,12 @@ The functions defined in this module are:
trailing whitespace.
\end{funcdesc}
-\begin{funcdesc}{expandtabs}{s, tabsize}
+\begin{funcdesc}{expandtabs}{s, \optional{tabsize}}
Expand tabs in a string, i.e.\ replace them by one or more spaces,
depending on the current column and the given tab size. The column
number is reset to zero after each newline occurring in the string.
This doesn't understand other non-printing characters or escape
- sequences.
+ sequences. The tab size defaults to 8.
\end{funcdesc}
\begin{funcdesc}{find}{s, sub\optional{, start\optional{,end}}}