mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Document the default for tabsize in expandtabs().
This commit is contained in:
parent
3e0d319196
commit
9700e9becc
1 changed files with 2 additions and 2 deletions
|
|
@ -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}}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue