summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2011-11-11 08:44:22 (GMT)
committerEli Bendersky <eliben@gmail.com>2011-11-11 08:44:22 (GMT)
commit6e9002c8e04add1aa9de165a369ba23c21221bff (patch)
tree759a9cce0a9741f39775dd95a480b924f5b69fe0 /Doc
parentb0a1d628b84dad92f4cf0e62987d63f1d8fb3311 (diff)
parentc2c896093b8d312fabbb898e030331b5d4fc1fc5 (diff)
downloadcpython-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.rst2
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