diff options
| author | Eli Bendersky <eliben@gmail.com> | 2011-11-11 10:40:14 +0200 |
|---|---|---|
| committer | Eli Bendersky <eliben@gmail.com> | 2011-11-11 10:40:14 +0200 |
| commit | c2c896093b8d312fabbb898e030331b5d4fc1fc5 (patch) | |
| tree | 335b8c04074dc8056b24cf3f8e686e798f9ef888 /Doc/library | |
| parent | 98d2c0aba3ddf2e5f0d8e841c7682925a2cedb5a (diff) | |
| download | cpython-git-c2c896093b8d312fabbb898e030331b5d4fc1fc5.tar.gz | |
Issue #13365: correct an error in the documentation of str.expandtabs
Diffstat (limited to 'Doc/library')
| -rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 942ecbad56..af1e44a941 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1033,7 +1033,7 @@ functions based on regular expressions. .. method:: str.expandtabs([tabsize]) - Return a copy of the string where all tab characters are replaced by one or + Return a copy of the string where all tab characters are replaced by zero 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. If *tabsize* is not given, a tab size of ``8`` characters is assumed. This |
