diff options
author | Eli Bendersky <eliben@gmail.com> | 2011-11-11 08:44:22 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2011-11-11 08:44:22 (GMT) |
commit | 6e9002c8e04add1aa9de165a369ba23c21221bff (patch) | |
tree | 759a9cce0a9741f39775dd95a480b924f5b69fe0 /Doc | |
parent | b0a1d628b84dad92f4cf0e62987d63f1d8fb3311 (diff) | |
parent | c2c896093b8d312fabbb898e030331b5d4fc1fc5 (diff) | |
download | cpython-6e9002c8e04add1aa9de165a369ba23c21221bff.zip cpython-6e9002c8e04add1aa9de165a369ba23c21221bff.tar.gz cpython-6e9002c8e04add1aa9de165a369ba23c21221bff.tar.bz2 |
Issue #13365: correct an error in the documentation of str.expandtabs. Patch by John Feuerstein
Diffstat (limited to 'Doc')
-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 b3bd8fb..3345258 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1037,7 +1037,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 |