Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstring.tex @ 9952:e5d0df824bf3 legacy-trunk
Document the default for tabsize in expandtabs().
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 25 Jan 1999 22:31:53 +0000 |
| parents | b78049fefceb |
| children | b30077c57348 |
line wrap: on
line diff
--- a/Doc/lib/libstring.tex Mon Jan 25 21:57:29 1999 +0000 +++ b/Doc/lib/libstring.tex Mon Jan 25 22:31:53 1999 +0000 @@ -102,12 +102,12 @@ 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}}}
